If I have ConsiderLibraryHoursInCirculation set to "shorten the loan period and set the checkout to be due at the library’s close time" and check out an item whose loan period should be shortened to account for closing hours, the loan period isn't being shortened as expected. To replicate: -Set ConsiderLibraryHoursInCirculation to "shorten the loan period and set the checkout to be due at the library’s close time" -Set Library A's hours from any opening time (I used 8a) to 12p -Set a circ rule for all patron types/test item type for hourly loans using the number of hours that would go past your closing time (test: 3 hours) -Check out the test item type at a time when the loan period should be shortened (test: 11.30a) -Note that the loan period is not shortened (test: 2.30p) despite the closing time and system preference
I wonder if circulation library / home library /patron library or similar could be at play here. Can you share if they have all been the same?
Hi ! Are all of your open time et close time filled ? I was having the same issue but my saturday and sunday were "null" since the library is closed on the weekend. I then filled the hours for the two days and I was able to make it work. Tho there's still a problem with that because I've put 00:00 in both the open time and close time thinking that Koha would understand that the library is not open on that day, but when I tried the "extend the loan period and set the checkout to be due at the library's open time" option my loan period was extended to saturday 00:00 wich is not wat I want.
We are seeing this work (loan period shortens successfully to closing time) for the most part but can replicate a scenario in which it doesn't work, if the next day's hours are null for the library. Before testing, I confirmed that there was a corresponding circ rule for this library, item type, and patron category. - Set ConsiderLibraryHoursInCirculation to shorten - Set library's hours on current day (e.g. Monday, 8 a.m. to 5 p.m.), but leave the next day with null hours (e.g. Tuesday, leave blank) - Check out an item with hourly loan period where the loan period should shorten (e.g. check out 4 hour loan at 4:00 p.m.). - Loan did not shorten, due at 8 p.m. When I repeated the steps above but entered hours for the current day and the next day (e.g. Monday AND Tuesday), the 4-hour loan checked out at 4:00 p.m. shortened as expected and was due at closing time, 5 p.m.
We are extensively testing loan shortening in 24.11 to try to get it to work with how we have to configure circcontrol (to keep max loans entitlement under control in our multi-site setup given Bug 27834) and are replicating what Raina reports. And while an attempt to trick Koha by adding in a 5 minute opening time at 03:00 on the closed day tomorrow appears to work (the loan period is shortened correctly today) Koha requires the staff member to manually approve the loan, so I don't see our laptops loans units and self issue kiosks tolerating that.