From f164994ae3be5ae4e619c13fb56e9fe85bb5bd22 Mon Sep 17 00:00:00 2001 From: Aarush Chaurasia <2027achauras@tjhsst.edu> Date: Mon, 1 Jul 2024 20:25:46 -0400 Subject: [PATCH] feat(eighth): add searching activities by desc (closes tjcsl#1683) --- intranet/static/js/eighth/signup.search.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/intranet/static/js/eighth/signup.search.js b/intranet/static/js/eighth/signup.search.js index 06cb3d63247..2f7d5edf3c5 100644 --- a/intranet/static/js/eighth/signup.search.js +++ b/intranet/static/js/eighth/signup.search.js @@ -96,6 +96,10 @@ $(function() { show = true; } } + // description + if (activity.description.toLowerCase().indexOf(search) !== -1) { + show = true; + } var cmd = search.split(":"); if (cmd.length > 1) {