audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement] Include Genre in global library search

Open Gru0810 opened this issue 1 year ago • 5 comments
trafficstars

What happened?

When I search for "Klassiker" which is used in "TAGS" (Schlagwörter) all is fine: image

But when I search for "AbenteuerRoman" which is used in "Genre" the system does not find the entry: image

Under "Libray" the direct-filter on "AbenteuerRoman" works perfect: image

What did you expect to happen?

search will also find libray-item with Search-Text in Genre like it works for TAGS

Steps to reproduce the issue

Audiobookshelf version

2.8.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

No response

Additional Notes

No response

Gru0810 avatar May 06 '24 10:05 Gru0810

I don't understand, can you explain step-by-step how to reproduce this?

advplyr avatar May 06 '24 21:05 advplyr

Looks like information from https://github.com/advplyr/audiobookshelf/issues/2936 got copied into this issue.

nichwall avatar May 06 '24 21:05 nichwall

sorry, did not check by preview I just add a new Genre / Kategory "test1234" to the audiobook and tehn search for it but 'no result': image

Gru0810 avatar May 08 '24 07:05 Gru0810

I justtry to understand the Code for search at : https://github.com/advplyr/audiobookshelf/blob/master/server/utils/queries/libraryItemsBookFilters.js#L1157 and try to compare the block for searing within "tags" with "genres" and found this: image

Gru0810 avatar May 08 '24 07:05 Gru0810

I understand now. Genres are not part of the global search so I made this a feature request instead of a bug.

That screenshot is not related to searching.

advplyr avatar May 08 '24 15:05 advplyr