https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39419

--- Comment #16 from Brendan Lawlor <[email protected]> ---
(In reply to David Nind from comment #13)

> However, I couldn't work out how to get a date in patron_expiration_date
> using either the staff interface or OPAC (which all seemed to work fine for
> placing holds). 

The expiration date is mostly set on holds as an automatic process based on
system preferences, upon checking the hold into the hold shelf. When it becomes
waiting it gets an expiration date accordingly.

The patron_expiration_date is set in Koha when the patron places a hold in the
OPAC, clicks Show more options and enters a Hold not needed after date. Or in
the staff interface when staff places a hold and enters a Hold expires on date.
These actions actually set both expirationdate and patron_expiration_date.

As far as I can tell in the Koha OPAC and staff interface you can only set the
patron_expirtion_date at the time of placing the hold, but there's no way to
update it once the hold is placed. I could be wrong about this though :)

The terminology and labels are not consistent so it is rather confusing, but
you can confirm what field is getting set using ktd --dbshell with a query
like:
select biblionumber, expirationdate, patron_expiration_date from reserves where
borrowernumber=38;

Or even better you can confirm using the API with a call like GET
/api/v1/holds?patron_id=38

We're using Aspen for our OPAC and this bug affects us because Aspen is
currently setting the expiration_date when it should be setting the
patron_expiration_date.

> [1] Failed tests
I fixed the failing test. Not sure but I think I may have made this mistake
when rebasing the first time.

Thanks for testing again!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to