photoprism / photoprism-docs

Official Documentation (English)
https://docs.photoprism.app
Other
61 stars 108 forks source link

Correct search docs regarding album search term #101

Closed des4maisons closed 2 years ago

des4maisons commented 2 years ago

When trying to use the search docs to search only for photos in a certain album, I found that using the syntax described on the docs (albums:"<title of album>") did not work for me. I had to use album:"<ID of album>" (album with no S, and ID instead of title of album) to get the expected results.

For example, the following worked (I found the string ID of the album in the URL for that album): album-search

However searching by the album name (eg album:"2022-01-23" or albums:"2022-01-23") included many pictures not in the album. Searching with albums: (with S) and using the ID of the album returned no results (eg albums:"ar66h2u1kjj3myku").

This change updates the docs according to my experience.

However I'm new to photoprism and I suspect that I'm missing something. Please feel free to tell me what I'm doing wrong, and indicate to me how I can clarify the docs so that others don't run into the same thing as me.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

graciousgrey commented 2 years ago

It's working on our demo with album names that are not dates. https://demo.photoprism.app/browse?view=cards&order=added&q=album%3A%22berlin%22&public=true&quality=3 https://demo.photoprism.app/browse?view=cards&order=added&q=albums%3A%22california%22&public=true&quality=3 So the docs are not the issue. It's rather not working with album names like this. I will investigate a bit further. Thanks for reporting!

graciousgrey commented 2 years ago

I will close this PR and created a bug ticket instead: https://github.com/photoprism/photoprism/issues/1994