[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Default maxRecords value handling in tiki-listpages.php

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68f948cf20608_2ce1b547415e@gitlab-sidekiq-low-urgency-cpu-bound-v2-6595fd98c4-xcdvr.mail>

Baraka Kinywa pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
d0cf933a by Yves Ngalamulume at 2025-10-23T00:05:53+03:00
[BP][FIX] Default maxRecords value handling in tiki-listpages.php
---
* [FIX] Default maxRecords value handling in tiki-listpages.php
---
* [FIX] Fix default maxRecords value handling in tiki-listpages.php

See merge request tikiwiki/tiki!8149

See merge request tikiwiki/tiki!8834

- - - - -


1 changed file:

- tiki-listpages.php


Changes:

=====================================
tiki-listpages.php
=====================================
@@ -137,6 +137,8 @@ if (! empty($multiprint_pages)) {
     if (isset($_REQUEST['maxRecords'])) {
         $maxRecords = $_REQUEST['maxRecords'];
         $smarty->assign('maxRecords', $maxRecords);
+    } else {
+        $maxRecords = -1;
     }
     if (! isset($_REQUEST['sort_mode'])) {
         $sort_mode = $prefs['wiki_list_sortorder'] . '_' . $prefs['wiki_list_sortdirection'];



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d0cf933a82b8f99dea29c8066244c4cdfa09e9d9
You're receiving this email because of your account on gitlab.com.

_______________________________________________
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.