From 9a3ad32e468f2a006a43577031f3aa50b83fb3d8 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 --- .../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 7feb3d9108..faa2db4f32 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