Contacts: Groups sorting in browser

Created on 19 Mar 2018  路  6Comments  路  Source: nextcloud/contacts

I do a lot with the Groups field in my address book entries in NextCloud. In the left panel of my browser, the groups seem to have a type of moving random sort to them. I don't know if the last edited group goes to the bottom, or what, but it's hard to be an alphabetically thinking person looking for a group that's NOT alphabetically sorted.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

4. to release enhancement

Most helpful comment

It seems that the groups are sorted by number of entries.
I would also prefer an alphabetical sorting.

All 6 comments

It seems that the groups are sorted by number of entries.
I would also prefer an alphabetical sorting.

I tried to find the groups-list in source code but could not find.
Can you please hint to where the sorting takes place?

I have a bit of coding experience but new to JS+vue.
What is a good place to start/learn, especially for nextcloud apps?

Hello @tdoerschel !
You will find the group sorting here: https://github.com/nextcloud/contacts/blob/72e0b33e3bbd23635cf2efd23007fb5492d04e57/src/views/Contacts.vue#L193-L218

Regarding development, you can find the vue example app here: https://github.com/skjnldsv/vueexample
You can have a look at our components repository and documentation too: https://github.com/nextcloud/nextcloud-vue

And finally, feel free to ask any questions by pinging me on the #nextcloud-dev channel on irc(freenode) :)

Hello @skjnldsv,
thanks for the information. Sorry I am not good enough in programming and don't have the time at hand to start. We use your app a lot at work. I put a bounty from my private account now.
Maybe I can convince some colleguages to chip in as well.

Hi,
any plans when to the next minor release comes out with this issue fixed?
We have >1600 contacts in >120 groups.
Performance of nextcloud on a shared webspace is excellent, but searching with groups is painful, also due to issue #1145.

any plans when to the next minor release comes out with this issue fixed?

soon :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juzim picture juzim  路  3Comments

Kalytis picture Kalytis  路  4Comments

spoorun picture spoorun  路  3Comments

michaelletzgus picture michaelletzgus  路  5Comments

Spartachetto picture Spartachetto  路  3Comments