oaregithub / oare_mono

1 stars 0 forks source link

Search in Bibliography page searches all content (?) #1494

Closed edstratford closed 2 years ago

edstratford commented 2 years ago

Right now if user searches in top left, it only finds matches within title, author, date. This is as I asked.

I wonder if its possible to just search the content in the cache (or similar) -- I 'expect'/want to be able to search for the journal name or the title of the book, etc. We could add these to the filterBibliography, i.e. insert something like:

bib.publication?.tolowerCase().includes(search.value.toLowerCase()) ||

but this might force us to think of all the different types, so maybe just query the text on the page? - This can be done on with CRTl+F on the page, but it deosn't filter, so harder to find the various hits, etc.

Happy to take feedback on this - I like the current code...