[TikiWiki-commits] [Git][tikiwiki/tiki][29.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 <688dd0ae8657a_2cc31943836524@gitlab-sidekiq-low-urgency-cpu-bound-v2-655597b6c5-x8f4m.mail>

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


Commits:
73785e43 by Merci Jacob at 2025-08-02T08:47:38+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
=====================================
@@ -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/73785e430e0c695e297350c692c0789464c4e18e

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