dspace-angular
dspace-angular copied to clipboard
Facet search box should search all words, not just first word, in options
Describe the bug DSpace 7.2?
As first reported in https://groups.google.com/g/dspace-community/c/GMO020isfZQ/m/1ISexkihAwAJ, the search box within a facet seems to match the first word of an option but not subsequent words, for example in the Department facet for Iowa State, https://dr.lib.iastate.edu/collections/0830d32e-14e1-4a4f-bb8f-271a75ed35af?scope=0830d32e-14e1-4a4f-bb8f-271a75ed35af, it returns a match for Physics but not Astronomy for the department, "Physics and Astronomy."

Expected behavior
"The intention of the search box under each facet was to do the same thing in an easier way. It's supposed to allow you to quickly search for the facet you are looking for (rather than continually clicking "show more" or loading them all at once). And then allow you to select that facet quickly. This was a redesign of the old 6.x behavior into 7.x, but the goal was the same.... you should be able to find even smaller facets quickly and us them to filter your results.
However, based on your feedback, it does appear that it's not doing exactly what users expect in this scenario...I agree with you that it should not require searching from the beginning of the facet text. I'd consider this a bug. Maybe you could create a ticket with thoughts on how to improve the behavior?"
I would expect the search box to index all words in the facet options.
Another observation is that the search box for authors only matches last names, not first names.
I think this is important to fix or 7.4. Because users can longer page through lists of facet values, full indexing of search facets is important.
We'd like to claim this ticket