Bug 42000 - Add info about bookings on result page
Summary: Add info about bookings on result page
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Thibaud Guillot (thibaud_g)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-05 13:59 UTC by Thibaud Guillot (thibaud_g)
Modified: 2026-03-05 14:09 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 42000: Add bookings count info on result page (3.59 KB, patch)
2026-03-05 14:09 UTC, Thibaud Guillot (thibaud_g)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaud Guillot (thibaud_g) 2026-03-05 13:59:12 UTC
Hello @ll,

I could be helpful to add info about bookings count related to biblio items on result page, like "Holds".
Comment 1 Thibaud Guillot (thibaud_g) 2026-03-05 14:09:09 UTC
Created attachment 194510 [details] [review]
Bug 42000: Add bookings count info on result page

Display number of bookings if:
- items are bookable and syspref booking enabled of course
- at least on item is available for booking
- exclude past bookings and completed bookings (checked out normally)

Test plan:

1) Apply this patch and restart_all
2) Perform a search and see new bookings count info

Display number of bookings if:
- items are bookable
- at least on item is available for booking
- exclude past bookings and completed bookings (checkouts normally)

Sponsored by: Association de Gestion des Œuvres Sociales d'Inria (AGOS)