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

"Merci Jacob \(@mercihabam\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <688dd0bed2a3_2cd5fd454833@gitlab-sidekiq-low-urgency-cpu-bound-v2-655597b6c5-zwkql.mail>

Merci Jacob pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki


Commits:
7e3f8e6e by Merci Jacob at 2025-08-02T08:47:54+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


(cherry picked from commit 93f61dce00b4bb6133006a7c625cdf878b68ce45)

7cdcc3d1 [FIX] Avoid unintentional computation of deep categories when navigating to a specific category

Co-authored-by: Merci Jacob <[email protected]>
- - - - -


1 changed file:

- tiki-browse_categories.php


Changes:

=====================================
tiki-browse_categories.php
=====================================
@@ -199,7 +199,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/7e3f8e6ea415205615fb6ecbcb13cd0efc1f5158

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