Topic: Sort "Additional Fields"
Is it somehow possible to sort my self created "Additional fields" from A-Z ?
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → Sort "Additional Fields"
Is it somehow possible to sort my self created "Additional fields" from A-Z ?
To sort your field names from A to Z, please edit the file core/modules/dashboard.php
Before the code
cn_assign('list', $list);
paste this code
ksort($list);
Is it somehow possible to get these recurve bows now and sort my self created "Additional fields" from A-Z ?
Does this work for the numerically named Additional Fields too?
Sorting is made in the lexicographical order: the numbers are sorted as characters, it turns out that 0 goes before 1, but 2 is less than 10, since the comparison is done lexicographically, by characters, not by numbers.
I am also looking for the same issue.
Elon One
To sort your field names from A to Z, please edit the file core/modules/dashboard.php
MyLabCorp Portal
Before the code
cn_assign('list', $list);
paste this code
ksort($list);
Good one, I had no idea about this trick. Make sense if it works pretty well. Thanks!
I am also encountering this issue. Don't know why its happening.
https://www.foremostpayonline.org/
CutePHP Forums → Problem Solving / Help & Support → Sort "Additional Fields"
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.