[Koha-bugs] [Bug 35787] Remove Koha::Template::Plugin::Biblio::CanBook
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 15 14:27:00 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35787
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #160960|0 |1
is obsolete| |
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 161038
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161038&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.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list