Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Allow for different sorting scenarios on a collection by collection basis #660

Open
gamontoya opened this issue Jun 19, 2019 · 2 comments
Open

Comments

@gamontoya
Copy link

gamontoya commented Jun 19, 2019

Descriptive summary

Kirk W. and Tamara R. are requesting the option to be able to change the default sort on a collection by collection basis.

Would this have to be hard coded or would we need to add a flag to the collection metadata for this purpose?

Rationale

The Holocaust Living History Workshop's default sort makes more sense to list as most recently added (sort by date created, descending) as does the TellUsHowUCIt collection.

Related issues

@gamontoya gamontoya changed the title Sort collections view by most recently added, by default Allow for different sorting scenarios on a collection by collection basis Jun 19, 2019
@mcritchlow
Copy link
Member

@gamontoya - Here's some early feeback since I'm going through the backlog looking for work and noticed this :)

Would this have to be hard coded or would we need to add a flag to the collection metadata for this purpose?

It would have to be explicitly supplied somewhere. Since this is a front-end concern, I think we could probably store the information in a local configuration file in damspas, so DOMM wouldn't have to create a new predicate and add the metadata to the record itself. That would mean a request to change the sort for a collection would require a deploy, though perhaps there's a way to read that configuration file from an external location, similar to how the homepage image feed works. Either way, long story short, it's possible

to be able to change the default sort on a collection by collection basis.

This seems like something that should have some user experience discussion. The rationale Kirk uses makes sense, however I think there's a possibility here that this introduces more confusion for users because search result display would no long be consistent across collections. Perhaps something to run by DUS?

@jessicahilt
Copy link

I have no idea how I closed this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants