Guest
17 Oct 2013 16:25

Like the title says, I have a relationship field which is a parent. When the user goes to select a child I have the checkbox list appear. However I want this list to be in alphabetical order. I can't seem to make this happen, please advise.

I have set all of the options to 'Alphabetize by Title' but nothing has changed. It is still ordered by ID.

Thanks.

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
21 Oct 2013 01:37

Added to next version.


Guest
25 Oct 2013 13:54

I have installed the update and am not seeing any changes. I am looking at Type-Fields->Parent Field. Here is a screenshot of the setting I have selected. Am I looking in the wrong place?

Thanks again.


pepperstreet VIP
Total posts: 3,837
25 Oct 2013 20:03

As far as i can see...

  • the order is always A-Z.
  • this applies to all 4 display styles.
  • this ordering affects SUBMISSION FORM only!
  • currently, there is no parameter to set another order on the form

The parameter in your screenshot is for FRONTEND VIEW ONLY.

Does it make sense to have a similar parameter for FORM display, too?


Sergey
Total posts: 13,748
28 Oct 2013 00:08

Yes this is not a parameter. It is always applied.


Guest
28 Oct 2013 10:08

Just to clarify, when editing an entry this is what is currently shown.

This is what I would like to be alphabetized, currently I cannot find a way to do this. This display did not change after the update.


Sergey
Total posts: 13,748
29 Oct 2013 01:17

It displays not by column. It displays from left to right from row to row. Despite 2 items at very top everything looks alphabetized.


Sergey
Total posts: 13,748
30 Oct 2013 00:41

You were entering it ordered by title?


Guest
30 Oct 2013 09:51

Let me give a breakdown of what I've done, in case there is any confusion.

I have 2 Cobalt Types, Person and Centers. Using the relationship fields I am creating a link so that a Person can be associated with a Center. In Person type I have a parent field that is linked to Center.

My users can go in and edit their Person type entry. Here is where they get to the relationship field for Centers. This is where I would like the list to be alphabetical but it is ordered by ID.

Hope this is clear, I appreciate your time.


Sergey
Total posts: 13,748
31 Oct 2013 00:37

I need access to your site. Because it works locally.


Guest
31 Oct 2013 15:35

Ok, I sure hope this private button works. :O

I've created an admin account for you.

un: cobalt

pw: quantumcobalt

From the main site in the top right you can get to the directory. From their you can get to a persons entry and edit it. You should then see the 'Centers' tab which is where this is taking place.


Guest
31 Oct 2013 15:35

Forgot the site url: http://cns.utexas.edu


Sergey
Total posts: 13,748
01 Nov 2013 00:26

Fixed.


pepperstreet VIP
Total posts: 3,837
05 Nov 2013 06:02

Fixed. ... I used $query->orderby('name') instead of $query->order('name')

@Sergey

Fixed. ... I used $query->orderby('name') instead of $query->order('name')

Is it possible to have sorting order parameter for FORM display, too?


Sergey
Total posts: 13,748
05 Nov 2013 23:08

Added to next release.

Powered by Cobalt