From d98a822d8a614a807af89ee1c73fce9cba35423d 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=UTF-8 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 --- .../intranet-tmpl/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 aa227fa..d01e441 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 @@ -134,7 +134,7 @@ @@ -146,7 +146,7 @@ @@ -168,7 +168,7 @@ @@ -180,8 +180,8 @@ @@ -198,7 +198,7 @@ @@ -211,7 +211,7 @@ -- 2.1.4