From 92acb9a3b8ee3708c1449ddc20972c56006fb7b3 Mon Sep 17 00:00:00 2001 From: master3395 Date: Fri, 10 Apr 2026 21:38:51 +0200 Subject: [PATCH] fix(firewall): pagination ng-show + firewall.js cache bust (cb=11) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ng-if on pagination bars created a child scope so ng-model for Per page and Go to page updated a shadowed copy; handlers read the controller scope — controls appeared to do nothing. Use ng-show instead. Bump firewall.js query cb after merge with upstream (cb=11) so browsers reload the script. --- baseTemplate/templates/baseTemplate/index.html | 2 +- firewall/templates/firewall/firewall.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index fbb110020..eccdb25af 100644 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -2559,7 +2559,7 @@ - + diff --git a/firewall/templates/firewall/firewall.html b/firewall/templates/firewall/firewall.html index 334062ef5..603defc24 100644 --- a/firewall/templates/firewall/firewall.html +++ b/firewall/templates/firewall/firewall.html @@ -1475,8 +1475,8 @@ - -
+ +
{% trans "Showing" %} {$ rulesRangeStart() || 0 $} – {$ rulesRangeEnd() || 0 $} {% trans "of" %} {$ rulesTotalCount || rules.length || 0 $} @@ -1680,8 +1680,8 @@
- -
+ +
{% trans "Showing" %} {$ bannedRangeStart() || 0 $} – {$ bannedRangeEnd() || 0 $} {% trans "of" %} {$ bannedTotalCount || bannedIPs.length || 0 $}