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

Alphabetically sort data view #562

Closed
mguida22 opened this issue Jul 19, 2016 · 9 comments · Fixed by #873
Closed

Alphabetically sort data view #562

mguida22 opened this issue Jul 19, 2016 · 9 comments · Fixed by #873
Assignees

Comments

@mguida22
Copy link

It would be nice to have the ability to sort alphabetically on any of the table columns within the data view, and also on the attributes, belongs to, has many, etc. lists when viewing a specific object. Especially with lots of data and attributes, it gets hard to find a specific item. Thanks!

@teddyzeenny
Copy link
Contributor

There's a search field you can use in the data tab. As for the object inspector, would a search field help with this problem?

@mguida22
Copy link
Author

A search field would be better, but I think being able to sort the display alphabetically would be best. I don't feel strongly though, just a suggestion I had!

@ryanlitalien
Copy link
Contributor

@teddyzeenny I tried a first pass, as I needed the sorting as well. I'd be super gracious if you could implement sorting on model properties!

@RobbieTheWagner
Copy link
Member

#622 seems to have been merged a long time ago. Did it resolve this issue?

@RobbieTheWagner
Copy link
Member

@Bestra @nummi @pbishop16 I think the essence of this issue, is we should support sorting alphabetically in each column of the models table, so if you want to view the data for all your models, and click an arrow, which would flip up and down for asc and desc, it should sort the records by that field. Is anyone interested in taking a stab at this?

@Bestra
Copy link
Contributor

Bestra commented Jul 30, 2018

Ah, so this issue really becomes "make {{x-list}} sortable". @rwwagner90 I can take a look.

@Bestra
Copy link
Contributor

Bestra commented Jul 30, 2018

To be clear we're talking of something similar to http://opensource.addepar.com/ember-table/latest/docs/guides/header/sorting, correct?

@RobbieTheWagner
Copy link
Member

@Bestra yep! I believe ember-table has been rewritten to use vertical collection as well, so if it is possible to switch out our tables for ember-table, I'd be in support of that too.

@jakeboyles
Copy link

🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈 🎈

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

Successfully merging a pull request may close this issue.

7 participants