]> git.koha-community.org Git - koha.git/commit
Bug 18525: (bug 14828 follow-up) FIX ordering from suggestion when item-level_itypes...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 May 2017 22:12:49 +0000 (19:12 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 May 2017 09:50:46 +0000 (11:50 +0200)
commit25e689da4f839fd5102a594b99552106c89bbc36
tree86aeab4b446d19ec616a9a5bcdf408b4a9cc95f1
parentf76eba322b1e957795e7ea637c02499513636aa0
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 <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 9a3ad32e468f2a006a43577031f3aa50b83fb3d8)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt