From 1dcc9363da85fc5f426f2377cd0397bc64f852ee Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 21 Oct 2025 15:33:50 +0200 Subject: [PATCH] Profiler/Filter * fix filter params being propagated between different profiler types (e.g. arena team size filter being appended to guilds menu) --- template/pages/arena-teams.tpl.php | 2 +- template/pages/guilds.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/pages/arena-teams.tpl.php b/template/pages/arena-teams.tpl.php index 144069a9..c318999e 100644 --- a/template/pages/arena-teams.tpl.php +++ b/template/pages/arena-teams.tpl.php @@ -13,7 +13,7 @@ $f = $this->filter->values; // shorthand brick('announcement'); -$this->brick('pageTemplate', ['fiQuery' => $this->filter->query, 'fiMenuItem' => array_slice($this->pageTemplate['breadcrumb'], 0, -1)]); +$this->brick('pageTemplate', ['fiQuery' => $this->filter->query, 'fiMenuItem' => array_slice($this->pageTemplate['breadcrumb'], 0, 3)]); # pr_setRegionRealm($WH.ge('fi').firstChild, realm, region) - never have \n\s before
, it will become firstChild (a text node) ?> diff --git a/template/pages/guilds.tpl.php b/template/pages/guilds.tpl.php index fe889a9c..925f1547 100644 --- a/template/pages/guilds.tpl.php +++ b/template/pages/guilds.tpl.php @@ -13,7 +13,7 @@ $f = $this->filter->values; // shorthand brick('announcement'); -$this->brick('pageTemplate', ['fiQuery' => $this->filter->query, 'fiMenuItem' => array_slice($this->pageTemplate['breadcrumb'], 0, -1)]); +$this->brick('pageTemplate', ['fiQuery' => $this->filter->query, 'fiMenuItem' => array_slice($this->pageTemplate['breadcrumb'], 0, 3)]); # pr_setRegionRealm($WH.ge('fi').firstChild, realm, region) - never have \n\s before , it will become firstChild (a text node) ?>