The search phrase "class" returns all results. #7
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
I suspect this is a side effect of the search logic taking each resource's
div
tag and searching the text for matches of the search words, since there is aclass
property in each of those elements. Since "class" is a valid search phrase when looking for resources from educational facilities/school-provided resources, this limitation should be removed.This will probably involve pulling the .text from each tag and using that as the search, rather than simply grabbing the
#resource_box
object'sdiv
children, and as such is not a terribly involved task.The text was updated successfully, but these errors were encountered: