Bug 39309 - Improve ConsiderLibraryHoursInCirculation handling of hourly loans when library closes past midnight
Summary: Improve ConsiderLibraryHoursInCirculation handling of hourly loans when libra...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-11 17:24 UTC by Heather Rommens
Modified: 2025-03-11 19:43 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Screenshot of checkout confirmation message (61.59 KB, image/png)
2025-03-11 17:24 UTC, Heather Rommens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heather Rommens 2025-03-11 17:24:20 UTC
Created attachment 179176 [details]
Screenshot of checkout confirmation message

Some libraries using hourly loans have closing times past midnight, such as 1am. When ConsiderLibraryHoursInCirculation is being used and a library has a closing time past midnight, a checkout confirmation message appears (see screenshot) and provides the option for a due date to be specified, as if it is not allowed by circulation rules (even if allowed).

To Test:
1. In Administration > Libraries, set library hours in such a way that the closing time is past midnight (ex: 1am)
2. Set ConsiderLibraryHoursInCirculation system preference to "shorten the loan period and set the checkout to be due at the library's close time".
3. Confirm that a circulation rule for the patron category/item type exists in Administration > Circulation and fine rules
4. Navigate to a patron account and check out an item with an hourly loan period - note the checkout confirmation message that appears
Comment 1 Raina 2025-03-11 19:43:43 UTC
One of our libraries is open 7:30 a.m. to 1:00 a.m. several days during the week, so they are unable to use "ConsiderLibraryHoursInCirculation" as they would like to in order to shorten hourly loans to the library's closing time. Being open after midnight is not unusual for academic libraries, and they may have different hourly loans such as for equipment and reserve items, so this could impact others that are also open late.