Hentoid
Hentoid copied to clipboard
[Request] Allow for multiple search terms in basic text search
I've run into an issue where identical tags slightly differ from website to website. Some of them append the number of entries with the given tag to the end of the tag itself resulting in two tags in the following manner: Most websites: Vanilla Certain sites: Vanilla9K
The basic search is a pretty good solution for this as it allows for partial matches, unfortunately however it doesn't allow for the chaining together of different tags. It would become far more powerful a tool if it were possible to comma separate or different search terms in the basic search and have it only return items which meet all the search term requirements.
E.g. Term 1: English Term 2: Vanilla
Search term 1: English Response: 200 comics
Search term 2: Vanilla Response: 500 comics
Search term 3: English,Vanilla Response: 123 comics
How this would work: 1. Split the search term at Commas into a new array 2. Run a search per normal but using only the first item in the split array and save the responses to a list/array 3. Run the search again with the second item in the split array and save the responses to a new list/array 4. Compare the lists/array and only return items that show up on all lists
Thanks for the feedback.
First things first, tags ending with "xK" (e.g. vanilla9K) are due to an nhentai bug that has been fixed for a couple weeks. You can clean these tags by re-downloading said books.
As for your suggestion, advanced search has been made for that. We'll see if we can implement what you describe in the basic search (which has, as you may guess, a way more basic way of working...)
Solution : Make simple search actually support the syntax displayed in search history