[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Avoid unintentional computation of deep categories when navigating to a specific category

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <688d207297a69_2c2d1b0f8312ef@gitlab-sidekiq-low-urgency-cpu-bound-v2-655597b6c5-vhxlg.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
93f61dce by Merci Jacob at 2025-08-01T19:01:30+00:00
[FIX] Avoid unintentional computation of deep categories when navigating to a specific category
---
* [FIX] Avoid unintentional computation of deep categories when navigating to a specific category

See merge request tikiwiki/tiki!8157

- - - - -


1 changed file:

- tiki-browse_categories.php


Changes:

=====================================
tiki-browse_categories.php
=====================================
@@ -192,7 +192,7 @@ $fetchCountIcon = smarty_function_icon(
 
 $tree_nodes = [];
 foreach ($ctall as $c) {
-    if ($prefs['category_browse_count_objects'] === 'y' || isset($_REQUEST['deep'])) {
+    if ($prefs['category_browse_count_objects'] === 'y' || $deep == 'on') {
         // display correct count of objects depending on browse in and find filters -- luci Thu 05 Sep 2013 10:15:50 PM UTC
         $objectcount = $categlib->list_category_objects(
             $c['categId'],



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

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