Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

sort subpages case insensitive


Reply

2 Posts   409 Views

Avatar
ivo

22 May 2012 at 9:17pm Community Member, 19 Posts

Hi,
could it be that the "sort sub-pages" option, that appears on right click on a parent-page, sorts case sensitive?

I have pages with upper and lowercase initials and it sorts with uppercase first:
like so:

A page
B page
C page
a page
b page
c page
Ö page

How can i make it sort case insensitive like:

A page
a page
B page
b page
...

Any hint appreciated!

Avatar
ivo

25 May 2012 at 3:10am Community Member, 19 Posts

Seems to be a Mysql "feature", i guess it depends on the collation.

In the frontend you could solve it via: order by UPPER(title)

In the backend this might be an option: http://www.ssbits.com/tutorials/2011/custom-sorting-in-the-cms-sitetree/ combined with the UPPER command
but i didnt tried that