Order of wards in directory

Discussions about the Directory Tool on lds.org. Questions about the Directory on the classic site should be posted in the LUWS forum.
craiggsmith
Senior Member
Posts: 711
Joined: Sun Sep 12, 2010 2:14 pm
Location: South Jordan, Utah

Order of wards in directory

Postby craiggsmith » Sun May 01, 2011 9:17 am

Is there a way to control the order of the wards when listed on the web site, such as in the directory? On both the old web site (main page) and new one our wards are listed in the following order:
1st, 2nd, 3rd, 4th, 5th, 6th, 8th, 10th, 7th.
I can't figure out why the 7th ward is always last; I've looked in MLS and CDOL and don't see any way to control it.

Thanks.
Craig
STS
South Jordan, UT

jdlessley
Community Moderators
Posts: 6526
Joined: Sun Mar 16, 2008 11:30 pm
Location: USA, TX

Postby jdlessley » Sun May 01, 2011 9:34 am

That is interesting. Since all our wards are alpha names they are displayed (sorted) alphabetically. I would assume numerically named wards would be displayed similarly. I'd love to hear from Ryan Jones what he knows.
JD Lessley
Have you tried finding your answer on the LDS.org Help Center page or the LDSTech wiki?

eblood66
Senior Member
Posts: 2028
Joined: Mon Sep 24, 2007 8:17 am
Location: Cumming, GA, USA

Postby eblood66 » Sun May 01, 2011 10:54 am

jdlessley wrote:That is interesting. Since all our wards are alpha names they are displayed (sorted) alphabetically. I would assume numerically named wards would be displayed similarly. I'd love to hear from Ryan Jones what he knows.


It is interesting. Our units are sorted alphabetically but 4 of the units all start with Spanish Fork and then have a number. These units are sorted by number (1st, 9th, 12th, 23rd) within that group which isn't what you'd expect with a character order sort.

This makes me think there is a manual order, probably in CDOL. Interestingly the units are in the same order in CDOL except that the one branch comes before the wards. My guess is that CDOL has a child unit order attribute but it sorts by unit type first and then by the child order whereas the directory just uses the child order. If that's true then contacting CDOL support would probably be a good option for fixing the order.

In any case, I'm sure that Ryan does know how it works. Hopefully he'll see this and chime in.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Postby russellhltn » Sun May 01, 2011 10:57 am

eblood66 wrote:This makes me think there is a manual order, probably in CDOL.


Perhaps a hidden "sort by" field.
Have you searched the Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

craiggsmith
Senior Member
Posts: 711
Joined: Sun Sep 12, 2010 2:14 pm
Location: South Jordan, Utah

Postby craiggsmith » Sun May 01, 2011 9:55 pm

Thanks. An inquiry to CDOL support sounds like the best option at this point.
Craig
STS
South Jordan, UT

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Postby russellhltn » Sun May 01, 2011 11:35 pm

craiggsmith wrote:An inquiry to CDOL support sounds like the best option at this point.


I'd wait and see if Ryan Jones chimes in. He's the developer for CDOL and tends to speak up on such issues.
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

rpyne
Member
Posts: 227
Joined: Fri Jan 19, 2007 1:13 pm
Location: Provo, Utah, USA

Postby rpyne » Mon May 02, 2011 12:59 am

I believe if you look at the unit numbers, you will find that is the sort order.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Postby russellhltn » Mon May 02, 2011 2:24 am

rpyne wrote:I believe if you look at the unit numbers, you will find that is the sort order.


I don't see it that way.

I think I found the problem. It's sorted alphabetically. All the single digit wards have a double space in front of the number so they will sort before the 10th ward. But the 7th ward does not. Since it's alphabetical, not numerical, it's being placed at the end.

But you can't see that on the page since the browser always treats multiple spaces as a single space. But if you go into the page source, you can see it.

I don't think there's any way for a local unit to fix that. Someone at CHQ will have to edit the ward name.
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

eblood66
Senior Member
Posts: 2028
Joined: Mon Sep 24, 2007 8:17 am
Location: Cumming, GA, USA

Postby eblood66 » Mon May 02, 2011 6:18 am

RussellHltn wrote:I don't see it that way.

I think I found the problem. It's sorted alphabetically. All the single digit wards have a double space in front of the number so they will sort before the 10th ward. But the 7th ward does not. Since it's alphabetical, not numerical, it's being placed at the end.

But you can't see that on the page since the browser always treats multiple spaces as a single space. But if you go into the page source, you can see it.

I don't think there's any way for a local unit to fix that. Someone at CHQ will have to edit the ward name.


You're absolutely right. There are two spaces before the single digit numbers in my stake as well. That does explain the sort order.

jonesrk
Church Employee
Church Employee
Posts: 1455
Joined: Tue Jun 30, 2009 7:12 am
Location: Farmington, UT, USA

Postby jonesrk » Mon May 02, 2011 8:29 am

You guys are good. The wards with a single digit number do have 2 spaces (when there are 2 digit numbers also) to force the sorting and with html you don't see the extra space.

craiggsmith, I have added an extra space to the 7th ward so it should show up in the correct order now (depending on where they get the data it may have to wait for overnight).
Ryan Jones
CDOL Developer
Stake Technology Specialist - Software / Stake Assistant Clerk
Former Ward Clerk


Return to “Directory”

Who is online

Users browsing this forum: No registered users and 1 guest