Skip to content

Commit

Permalink
Merge pull request #102 from LongForWisdom/minor-updates
Browse files Browse the repository at this point in the history
Added code to search function
  • Loading branch information
LongForWisdom authored May 7, 2024
2 parents 27911b5 + 609a0d5 commit fab35c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/js/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ function filterBounties() {
{
let lowercaseTitle = bounty.title.toLowerCase();
let lowercaseSummary = bounty.summary.toLowerCase();
let code = bounty.code.toLowerCase();
if(lowercaseTitle.includes(searchInput) ||
lowercaseSummary.includes(searchInput))
lowercaseSummary.includes(searchInput) ||
code.includes(searchInput))
{
show &= true;
}
Expand Down

0 comments on commit fab35c5

Please sign in to comment.