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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 May 2017 12:50:40 +0000 (08:50 -0400)
commit9a3ad32e468f2a006a43577031f3aa50b83fb3d8
tree13ddd269618509f3bc2d969e3e5f6f487f73e417
parentcaa4cccfa09cdf5c9816634194000307ac508578
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt