From d73fa3abf03be3111adf89228298540b8ec85c48 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 Oct 2016 09:16:56 +0200 Subject: [PATCH] Bug 17495: Fix 'method selected not covered by test' in reports/issues_stats.pl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit If you access reports/issues_stats.pl, you will get Template process failed: undef error - The method selected is not covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121 http://localhost:8081/cgi-bin/koha/reports/reports-home.pl Bug 15407 sent objects to the template and the selected method is not defined. The bug had been highlighted by bug 17425 which dies instead of hides the error. Not that the "selected" code was not needed, the different elements of the page never select a specific value. Test plan: Apply this patch and confirm that the error is no longuer displayed. Reproduced. Followed test plan, works as expected. Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Signed-off-by: Mason James --- .../prog/en/modules/reports/issues_stats.tt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt index 1bc8c23e40..ee8b9b01b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt @@ -133,7 +133,7 @@ @@ -145,7 +145,7 @@ @@ -169,7 +169,7 @@ @@ -181,8 +181,8 @@ @@ -199,7 +199,7 @@ @@ -212,7 +212,7 @@ -- 2.39.5