[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Tracker: Restore default sort order from tracker properties in tiki-view_tracker.php

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a157d7f197e5_395b3a510207f@gitlab-sidekiq-low-urgency-cpu-bound-v2-5bd7895658-vmnlg.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
e8b4b1bd by Landry Bitege at 2026-05-26T10:43:42+00:00
[FIX] Tracker: Restore default sort order from tracker properties in tiki-view_tracker.php
---
* [FIX] Tracker: Restore default sort order from tracker properties in tiki-view_tracker.php

See merge request tikiwiki/tiki!10274

- - - - -


1 changed file:

- tiki-view_tracker.php


Changes:

=====================================
tiki-view_tracker.php
=====================================
@@ -567,7 +567,8 @@ if (isset($_REQUEST["sort_mode"])) {
     }
 }
 if (empty($sort_mode_full)) {
-    $sort_mode_full = ['itemId_asc'];
+    // Preserve the default sort order computed from tracker properties above
+    $sort_mode_full = ! empty($sort_mode) ? [$sort_mode] : ['itemId_asc'];
 }
 
 // Expose primary sort to template



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/e8b4b1bde4ea975b761647e107bb61e68ed52e74

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/e8b4b1bde4ea975b761647e107bb61e68ed52e74
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.