]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 24 May 2017 02:26:23 +0000 (14:26 +1200)
commit020429d407039c401e18230d62f41b533ab913fe
tree8db6b10a698af1be16deb4a34ea33e7f470d0929
parent2203f7d39e4504cfefa2ecb6c160c8f5f0054e7b
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