Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Sort Order in lists

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
11 years 8 months ago #220924 by sirweb
Sort Order in lists was created by sirweb
Is it possible by hack/plugin or whatever to make a list sorted by SORT ORDER of a select list, when ascending or descending doesn´t make sense?
After all, it is possible to reorder the options in a select list.
Example: you have a select list for Title, and want to sort a list on title, and want CEO aboce Secretary in the list. :)

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago - 11 years 8 months ago #220970 by krileon
Replied by krileon on topic Sort Order in lists
Don't understand the question. There is no frontend sorting of userlists. It will always use the Order By you specified while editing the userlist. There are triggers available to alter the userlist query so it's possible to implement such a feature, but you'll probably need a new plugin to do it (can maybe accomplish it with 5+ CB Auto Actions).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 8 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • sirweb
  • sirweb
  • ONLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
11 years 8 months ago #221162 by sirweb
Replied by sirweb on topic Sort Order in lists
Sorry for being unclear in my question. I´ll try to put it in another way.
I did not talk about frontend. I am only talkong about backend here.
I have created a CB Select field with some options.
Then I create a User list (in backend) I would like to sort the output of the list based on the order of the options from that specific select field.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #221204 by krileon
Replied by krileon on topic Sort Order in lists
I see, backend can't be sorted and an only be searched. It's possibly to try adding sorting to the query using a trigger, but beyond that there is no sorting feature.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum