Skip to content

Albums: Add extended search form with sorting options #353

Description

@Ramblurr

We've several dozen albums on our photoprism instance. The current album list page renders albums in chronological order. Most of the time when we go to look at an album it is a recent one, which requires tons of scrolling to get it into view.

I'd like to propose a feature that allows one to sort the albums, at least by date, if not also attributes.


---> Here's a separate ticket for the list view: #382


Acceptance Criteria:

  • Add sort filter to album overview
  • Possible options: Name, Recently added, Recently edited, Newest First, Oldest First

Note:

  • Recently Added/Recently Edited probably only makes sense for albums and not for moments, states, etc as those are auto-generated and constantly updated in the background.
  • Newest First/Oldest First could lead to issues. Should the earliest or the latest date be used? Especially for moments or states or folders it might not make much sense as those often cover several years

Activity

  1. lastzero commented on Jun 12, 2020

    @lastzero
    Member

    Albums are sorted by name or year / month currently (latest at the top). In addition, you can filter by category. If you mark an album as favorite (click the star icon), it will be shown first as well.

  2. added
    ideaFeedback wanted / feature request
    on Jun 12, 2020
  3. self-assigned this
    on Jun 12, 2020
  4. jimmcslim commented on Jul 7, 2020

    @jimmcslim

    Yeah, feels like Albums, Moments, Calendar, Folders, Library/Originals could potentially support sorting by: name, "date" (although, how is this defined... earliest or latest photo in the 'collection' from EXIF data, file dates?). And being able to choose between ascending or descending sort would be great.

  5. added and removed
    ideaFeedback wanted / feature request
    on Sep 14, 2020
  6. changed the title [-]Albums list sorting[/-] [+]UX / List view with sorting for albums overview[/+] on Nov 26, 2020
  7. changed the title [-]UX / List view with sorting for albums overview[/-] [+]UX: List view with sorting for albums overview[/+] on Jan 5, 2021
  8. changed the title [-]UX: List view with sorting for albums overview[/-] [+]Albums: Option to sort albums[/+] on Nov 3, 2021
  9. added
    needs-analysisRequires further investigation
    ideaFeedback wanted / feature request
    and removed on Nov 3, 2021
  10. Ramblurr commented on Mar 11, 2022

    @Ramblurr
    Author

    Albums are sorted by name or year / month currently (latest at the top). I

    Ah, this is why I thought the default sorting was chronological, because our albums are named "YYYY-MM-DD Event"

  11. jeannotalpin commented on Jul 21, 2022

    @jeannotalpin

    Albums are sorted by name or year / month currently (latest at the top). In addition, you can filter by category. If you mark an album as favorite (click the star icon), it will be shown first as well.

    How do you choose between the 2 sort methods ? I have the felling that only by name is possible.
    Thanks.

  12. graciousgrey commented on Jul 22, 2022

    @graciousgrey
    Member

    It's not possible to change the sort order of the album overview as this issue is not implemented yet. Albums are currently sorted by name. In the calendar section the month-albums are sorted by newest first.

  13. 7 remaining items

  14. lastzero commented on Jan 2, 2023

    @lastzero
    Member

    The last commit added an extended search form similar to the picture search, where you can change the sort order and filter by year and category:

    sort-albums

    An updated preview build will be available for testing soon!

  15. dror3go commented on Jan 2, 2023

    @dror3go

    That's amazing @lastzero, thanks! May I ask what's defined as an album's "year"? If I'll create an album from last weekend of photos both from 2022-12-31 and from 2023-01-01, what will be the album's year?

  16. lastzero commented on Jan 2, 2023

    @lastzero
    Member

    What the year filter finds depends on the album type:

    • For manually managed albums, it finds albums that contain at least one picture from that year.
    • The year of the most recent picture in a folder is automatically detected and cached in the background.
    • Some moments combine month and year with a location as a dynamic search filter.
    • For calendar months, it is obvious.
    • States can currently not be filtered by year as it is undefined.
  17. lastzero commented on Jan 4, 2023

    @lastzero
    Member

    We have updated the available sorting options and the default setting based on user feedback:

    album-sorting

  18. added
    testedChanges have been tested successfully
    and removed
    please-testReady for manual testing & feedback
    on Apr 24, 2023
  19. added
    releasedAvailable in a stable release
    and removed
    testedChanges have been tested successfully
    on May 3, 2023
  20. moved this to Released 🌈 in Roadmap 🚀✨on Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ideaFeedback wanted / feature requestreleasedAvailable in a stable releaseuxImpacts User Experience

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions