-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search: Album names starting with a number cannot be found #1994
Comments
I think this is not just limited to search for album names (though maybe you didn't mean to imply it was). It seems as if numbers never match a search request. I have a photo that has a subject that appears like this on the Details screen:
When I search for
it works as expected (returns every photo with "John" in the subject), but if I search for:
I get everything that includes the word "Christmas" (e.g. "20141225 Christmas" as well) returned If I search for either of:
I get nothing, even though that number/word by itself is in the subject list. |
The subject search filter is only looking for matches in people(=subjects) see https://docs.photoprism.app/user-guide/organize/search/#search-filter-overview I admit it's a bit confusing. There is no dedicated search filter for the subject from the details tab for performance reasons (will be improved later). It is covered by the full-text search (which ignores number). For now you could search year:2015 month:12 day:25 Christmas |
Thanks for the explanation. |
Camera and lens can now also be searched by name. Escaping and parsing of albums has been improved so that albums whose names start with and/or contain numbers will be found.
Adds comment "Needs review, variable number of results." instead.
Improves readability and maintainability.
Tested. |
Steps to reproduce:
Current behavior:
All photos are displayed
Expected behavior:
Only photos of this album must be shown
The text was updated successfully, but these errors were encountered: