Skip to content
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

Albums: Update UpdatedAt when photos are added/removed to/from an album #3080

Closed
3 of 4 tasks
graciousgrey opened this issue Jan 9, 2023 · 0 comments
Closed
3 of 4 tasks
Assignees
Labels
enhancement Optimization, improvement or maintenance task released Available in the stable release tested Changes have been tested successfully

Comments

@graciousgrey
Copy link
Member

graciousgrey commented Jan 9, 2023

As a user I want to see albums with newly added photos on top when filtering for "Recently Updated"

At the moment, the UpdatedAt field of albums is only updated when the user makes changes in the album's edit dialog (https://docs.photoprism.app/user-guide/organize/albums/#edit-album-details). It would be great if the UpdatedAt field would be additionally updated when photos are added to or removed from an album.

  • The UpdatedAt field of an album (type album) MUST be updated when new photos are added
  • The UpdatedAt field of an album (type album) MUST be updated when photos are removed from the album
  • Write Unit Tests
  • Update Documentation
@graciousgrey graciousgrey added the enhancement Optimization, improvement or maintenance task label Jan 9, 2023
@lastzero lastzero added the help wanted Well suited for external contributors! label Jul 19, 2023
lastzero added a commit that referenced this issue Jul 23, 2023
This requires adding unit tests and checking if there are other
situations where the content of an album is changed by the user
and therefore updating the timestamp would be appropriate.

Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero lastzero added in-progress Somebody is working on this and removed help wanted Well suited for external contributors! labels Jul 23, 2023
lastzero pushed a commit that referenced this issue Jul 25, 2023
@graciousgrey graciousgrey added please-test Ready for acceptance test and removed in-progress Somebody is working on this labels Jul 26, 2023
@graciousgrey graciousgrey added tested Changes have been tested successfully and removed please-test Ready for acceptance test labels Sep 8, 2023
@graciousgrey graciousgrey added the released Available in the stable release label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Optimization, improvement or maintenance task released Available in the stable release tested Changes have been tested successfully
Projects
Status: Release 🌈
Development

No branches or pull requests

3 participants