[Koha-bugs] [Bug 9723] Hourly loans don't show time due in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 24 18:53:53 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9723

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 27551
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27551&action=edit
Bug 9723 - Hourly loans don't show time due in OPAC

Due dates in the OPAC don't display the time items are due, and thus
items which are on hourly loans don't display an accurate due date and
time. This patch corrects this by adding the "with_hours => 1"
parameter.

To test, enable an hourly loan period for an itemtype in your
collection. View the display of date due on the following pages:

- Patron details (opac-user.pl) - Log into the OPAC as a user who has
  something checked out which circulates by the hour.

- Bibliographic details (opac-detail.pl) - View the details for an item
  which is circulates by the hour and is checked out.

- Course reserves details (opac-course-details.pl) - View the contents
  of a course reserve, one of which should be an item which circulates
  by the hour and is checked out.

All due dates should show both date and time and be formatted correctly.
Test in both prog and Bootstrap themes.

This solution is less than ideal for libraries who do not use hourly
loans, as the time information is useless and potentially confusing.
It's problematic even for libraries who do use hourly loans, since
probably not all loans are hourly.

However, without doing a check of each item's circulation policy every
time we display the due date I don't know how you can tell it's an
hourly loan. Assume that items due at 23:59 are non-hourly?

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


More information about the Koha-bugs mailing list