[Koha-bugs] [Bug 32445] Status display of 'not for loan' items is broken in OPAC/staff
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 01:10:57 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32445
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at davidnind.com
--- Comment #18 from David Nind <david at davidnind.com> ---
I've tested, and this now fixes the display for:
- the record in the staff interface and OPAC
- the cart in the OPAC
For course reserves, the status is shown as:
- OPAC: Programming error, item-status.inc must be called with a Koha::Item
object.
- Staff interface: Available
How I tested (using KTD):
1. Replicated the issue (as per the bug description), and in addition I added a
record/item to a course reserve and the cart (for both the OPAC and staff
interface).
2. Applied the patch, flush_memcached, restart_all and cleared the browser
cache.
3. Refreshed the pages.
4. Results:
- this worked fine for the record/item in the staff interface and OPAC; and
the cart in the OPAC
- Didn't work for course reserves: the status in the staff interface shows as
'Available' (I guess this is right as it is available but can't be borrowed?),
and in the OPAC shows as 'Programming error, item-status.inc must be called
with a Koha::Item object.'
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list