[Koha-bugs] [Bug 35788] Remove Koha::Template::Plugin::Biblio::BookingsCount

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 15 14:47:55 CET 2024


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #160961|0                           |1
        is obsolete|                            |

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 161039
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161039&action=edit
Bug 35788: Remove Koha::Template::Plugin::Biblio::BookingsCount

We need a new method filter_by_future in Koha::Bookings.

Additionally this TT plugin's method was not covered by tests. Neither
is the whole Koha::Booking[s] objects btw.

Test plan:
Confirm that the number of bookings is displayed in the "Bookings" tab
in the left menu of the bibliographic record detail page.

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


More information about the Koha-bugs mailing list