-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Photos: Show albums in the Info tab of the edit dialog #3095
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
Conversation
Thank you! If this works, that would be a quick win. I will merge this and then try to figure out why albums were excluded from the JSON response. The related commit looks like it should have only been excluded from the YAML backups, which is correct. |
Signed-off-by: Michael Mayer <michael@photoprism.app>
A new development preview will be available for testing soon! 👍 |
You can now help test this with our preview build and on our public demo. An overview of all changes can be found in the Release Notes at docs.photoprism.app/release-notes/#development-preview. |
Signed-off-by: Michael Mayer <michael@photoprism.app>
I had to update the query to hide albums from which a photo has been removed. So much for the "quick win"! 😆 |
Route "GET /api/v1/photos/:uid" chain of calls to the following GetPhoto -> PhotoPreloadByUID -> PreloadMany -> PreloadAlbums does eventually query the database table photos_albums but the Album array in Photos does not get populated.
PR includes sample to display which albums a photo belongs to in the Info dialog.
Acceptance Criteria: