[Koha-bugs] [Bug 23608] Koha::Objects::Limit::Library->get_library_limits can return undef
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 18 15:18:05 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23608
--- Comment #6 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
We actually return nothing in the first place to not selected anything on the
admin edit form, for item type and categories:
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt:
[% PROCESS options_for_libraries libraries => Branches.all( selected =>
category.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 )
%]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt:
[% PROCESS options_for_libraries libraries => Branches.all( selected =>
itemtype.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 )
%]
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list