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

Give user ability to choose how items are sorted. #136

Open
ctcleary opened this issue Sep 1, 2016 · 6 comments
Open

Give user ability to choose how items are sorted. #136

ctcleary opened this issue Sep 1, 2016 · 6 comments

Comments

@ctcleary
Copy link
Contributor

ctcleary commented Sep 1, 2016

Sort by options:

  • title
  • created_at
  • updated_at
  • published_at
  • unpublished_at

Although I realize this is going to wreak havoc on the pagination stuff I'm currently working on, and bloat the hell out of it.

@kevinkace
Copy link
Collaborator

published_at/unpublished_at etc could be filters as well.

@tivac
Copy link
Owner

tivac commented Sep 1, 2016

More & more convinced we should ditch the current nav paradigm and do the table-style like keystone. I think it would simplify the pagination stuff a fair bit and make the UI for how to sort on different fields much clearer.

@ctcleary
Copy link
Contributor Author

ctcleary commented Sep 1, 2016

It would. If you want to go that way for sure, say the word and I'll stop fiddling with this wonky pagination style I got goin here.

@tivac
Copy link
Owner

tivac commented Sep 2, 2016

make it so

@tivac
Copy link
Owner

tivac commented Sep 16, 2016

Does #139 cover this one as well @ctcleary?

@ctcleary
Copy link
Contributor Author

So the last question isn't left dangling, the new listing page does not provide sort_by functionality. Everything is sorted by updated_at.

Implementing sort_by on timestamp data should be somewhat easy. Providing sort by on alphabetical data will be trickier and probably require a separate or bifurcated PageState

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

No branches or pull requests

3 participants