[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][FIX] Trackers: fatal error when multi-sorting tracker items

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

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


Commits:
f16342ac by Moïse Nturubika at 2026-06-19T12:09:55+00:00
[BP][FIX] Trackers: fatal error when multi-sorting tracker items
---
* [FIX] Trackers: fatal error when multi-sorting tracker items
---
* Refactor tracker sort_mode input validation to avoid fatal error

* Fix fatal error on tracker multi-sort by allowing array inputs in sort_mode filter

See merge request tikiwiki/tiki!10477

See merge request tikiwiki/tiki!10545

- - - - -


1 changed file:

- tiki-view_tracker.php


Changes:

=====================================
tiki-view_tracker.php
=====================================
@@ -19,7 +19,6 @@ $inputConfiguration = [
             'my'                 => 'username',      //get
             'ours'               => 'word',          //get
             'status'             => 'word',          //get
-            'sort_mode'          => 'alnumdash',     //get
             'remove'             => 'int',           //get
             'force'              => 'bool',          //get
             'batchaction'        => 'word',          //get
@@ -36,7 +35,7 @@ $inputConfiguration = [
         'staticKeyFiltersForArrays' => [
             'action'                => 'string',    //get
             'vals'                  => 'none',      //get
-            'sort_mode'             => 'string',    //get
+            'sort_mode'             => 'alnumdash', //get
             'filtervalue'           => 'word',
         ],
     ],



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

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