[Koha-bugs] [Bug 35787] Remove Koha::Template::Plugin::Biblio::CanBook

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 14:05:50 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35787

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 160960
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160960&action=edit
Bug 35787: Remove Koha::Template::Plugin::Biblio::CanBook

We can replace it with biblio.items.filter_by_bookable, no need to have this TT
method.

Additionally there was no test for it.

Test plan:
Make sure the Bookings tab on the left of the biblio detail page is
displayed when needed.

Note that there is also a "Place booking" button that should appear in
the toolbar.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list