[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][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 <6a214c7b7e50a_385de4a4455e3@gitlab-sidekiq-low-urgency-cpu-bound-v2-6564bf9646-bgs58.mail>

ushindi bienvenu pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
729de129 by Landry Bitege at 2026-06-04T09:52:43+00:00
[BP][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
---
* [FIX] Tracker: Restore default sort order from tracker properties in tiki-view_tracker.php

See merge request tikiwiki/tiki!10274

(cherry picked from commit e8b4b1bde4ea975b761647e107bb61e68ed52e74)

See merge request tikiwiki/tiki!10440

- - - - -


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/729de1297838e083a1c686d99011fea25752dcf6

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/729de1297838e083a1c686d99011fea25752dcf6
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.