[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [BP][FIX] Permissions Admin: Exclude treetable subHeader rows from listfilter...

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

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


Commits:
99bf34d6 by Aksanti Bahiga at 2026-05-26T08:18:26+00:00
[BP][FIX] Permissions Admin: Exclude treetable subHeader rows from listfilter (keep group labels always visible when filtering by perm name)
---
* [BP][FIX] Permissions Admin: Exclude treetable subHeader rows from listfilter (keep group labels always visible when filtering by perm name)
---
* [BP][FIX] trackers: Correct typo in var for show fields description
---
* [FIX] Permissions Admin: Exclude treetable subHeader rows from listfilter (keep group labels always visible when filtering by perm name)
---
* [FIX] Add filterExclude parameter to TreeTable and update object permissions template

See merge request tikiwiki/tiki!10048

See merge request tikiwiki/tiki!10158

See merge request tikiwiki/tiki!10213

See merge request tikiwiki/tiki!10364

- - - - -


2 changed files:

- lib/smarty_tiki/FunctionHandler/ListFilter.php
- lib/smarty_tiki/FunctionHandler/TreeTable.php


Changes:

=====================================
lib/smarty_tiki/FunctionHandler/ListFilter.php
=====================================
@@ -142,6 +142,7 @@ $('#$id').on('keyup', function() {
             \$('{$exclude}[data-tt-parent-id=' + \$(this).data('tt-id') + ']').hide();                            // but need hiding if the parent is 'empty'
         } else {
             \$(this).removeClass('collapsed').addClass('expanded');
+            \$('{$exclude}[data-tt-parent-id=' + \$(this).data('tt-id') + ']').show();
         }
     });
 ";


=====================================
lib/smarty_tiki/FunctionHandler/TreeTable.php
=====================================
@@ -197,7 +197,7 @@ class TreeTable extends Base
                     'id' => $id . '_filter',
                     'selectors' => "#$id tbody tr",
                     'parentSelector' => "#$id .collapsed:not(\".leaf\"), #$id .expanded:not(\".leaf\")",
-                    'exclude' => ""
+                    'exclude' => "#$id .subHeader"
                 ],
                 $template
             );



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

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