From 25e689da4f839fd5102a594b99552106c89bbc36 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 May 2017 19:12:49 -0300 Subject: [PATCH] Bug 18525: (bug 14828 follow-up) FIX ordering from suggestion when item-level_itypes = biblio When ordering from a suggestion with item-level_itypes = biblio the app crashes with Template process failed: undef error - The method selected is not covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121. C4::ItemTypes->all did not set a selected flag. The item type is only display when ordering (and not modifying an order). The flag is never set, the test can be removed. Test plan: Confirm that the error is gone Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall (cherry picked from commit 9a3ad32e468f2a006a43577031f3aa50b83fb3d8) Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index ddcda664f7..7cb678e340 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -389,11 +389,7 @@ $(document).ready(function() Item type: -- 2.39.5