-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(server): provide the ability to search archived photos #6332
feat(server): provide the ability to search archived photos #6332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the difference to https://immich.app/docs/api/search-assets and the isArchived
parameter?
Hm, fair point, that I might be able to exercise that existing option. The problem is that the changes made in #5806 explicitly set the |
We will refactor search anyways and then I think the asset search endpoint will be the foundation for that. (it has already lots of good filters) |
Generally, I believe this PR does look good though |
746bfb9
to
1912a81
Compare
1912a81
to
87f0dde
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Great work :)
Do I need to clean up these conflicts in order for this to be merged? Won't most PRs cause a conflict with these build artifacts included in the repository? |
Yes, they need to be cleaned up. Since those are just generated files you should be able to just run |
Adds a query parameter (`searchArchived`) to the search URL parameters to allow the results to contain archived photos.
87f0dde
to
02bf8e5
Compare
|
Did the open api refactoring change the target? |
Description
Adds a query parameter (
withArchived
) to the search URL parameters to allow the results to contain archived photos.I commented on #5806 that it might be useful if we could optionally search archived photos, and this PR adds that ability. I'm not really a UI developer, so I've only added the ability to optionally perform this search with a query parameter for now. Eventually we might want to add radio options or magic search terms to enable searching archived/non-visible photos.
How has this been tested
&withArchived=true