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: Add extended search form with sorting options #353

Closed
Ramblurr opened this issue Jun 8, 2020 · 11 comments
Closed

Albums: Add extended search form with sorting options #353

Ramblurr opened this issue Jun 8, 2020 · 11 comments
Assignees
Labels
idea Feedback wanted / feature request released Available in the stable release ux Impacts User Experience

Comments

@Ramblurr
Copy link

Ramblurr commented Jun 8, 2020

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
@lastzero
Copy link
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.

@lastzero lastzero added the idea Feedback wanted / feature request label Jun 12, 2020
@lastzero lastzero self-assigned this Jun 12, 2020
@jimmcslim
Copy link

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.

@lastzero lastzero added enhancement Refactoring, improvement or maintenance task and removed idea Feedback wanted / feature request labels Sep 14, 2020
@graciousgrey graciousgrey changed the title Albums list sorting UX / List view with sorting for albums overview Nov 26, 2020
@graciousgrey graciousgrey changed the title UX / List view with sorting for albums overview UX: List view with sorting for albums overview Jan 5, 2021
@graciousgrey graciousgrey changed the title UX: List view with sorting for albums overview Albums: Option to sort albums Nov 3, 2021
@graciousgrey graciousgrey added the needs-analysis Requires further investigation label Nov 3, 2021
@graciousgrey graciousgrey added idea Feedback wanted / feature request and removed enhancement Refactoring, improvement or maintenance task labels Nov 3, 2021
@Ramblurr
Copy link
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"

@jeannotalpin
Copy link

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.

@graciousgrey
Copy link
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.

@jeannotalpin
Copy link

Thanks for the precision.
I will upvote the album sort by newest first :)

@el-fredo
Copy link

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

It's the same with me.

I recently switched from Google Photos to PhotoPrism and finally managed to restore all my Google Photos albums. Now I found out that my oldest albums are at the top, and my newest albums are at the bottom. I have to scroll for a very very long time to get to my latest album that I am working on because it is at the bottom.

Is there perhaps a workaround until the sort function is implemented?

lastzero added a commit that referenced this issue Jan 2, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero lastzero changed the title Albums: Option to sort albums Albums: Add extended search form with sorting options Jan 2, 2023
@lastzero lastzero added please-test Ready for acceptance test ux Impacts User Experience and removed needs-analysis Requires further investigation labels Jan 2, 2023
@lastzero
Copy link
Member

lastzero commented Jan 2, 2023

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!

lastzero added a commit that referenced this issue Jan 2, 2023
States do not have an explicit year, so they cannot be filtered at this
time. If needed, a special query for the contained pictures could be
implemented later on. Select may also need changes to work with SQLite.

Signed-off-by: Michael Mayer <michael@photoprism.app>
lastzero added a commit that referenced this issue Jan 2, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
lastzero added a commit that referenced this issue Jan 2, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@dror3go
Copy link

dror3go commented Jan 2, 2023

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?

@lastzero
Copy link
Member

lastzero commented Jan 2, 2023

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.

lastzero added a commit that referenced this issue Jan 4, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero
Copy link
Member

lastzero commented Jan 4, 2023

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

album-sorting

@graciousgrey graciousgrey added tested Changes have been tested successfully and removed please-test Ready for acceptance test labels Apr 24, 2023
@graciousgrey graciousgrey added released Available in the stable release and removed tested Changes have been tested successfully labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Feedback wanted / feature request released Available in the stable release ux Impacts User Experience
Projects
Status: Release 🌈
Development

No branches or pull requests

7 participants