https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39419 --- Comment #22 from David Nind <david@davidnind.com> --- As per the test plan, the API works to update the database with both the: - expiration_date - patron_expiration_date expiration_date = date shown in holds "Expiration" column in the patron's holds table and holds table for a record, and the "Expires on" column in OPAC holds summary page. However, using the staff interface or OPAC I can only seem to update the expiration_date field (that is, I could not get any value to appear in the patron_expiration_date column in the database using the staff interface or OPAC): 1. Staff interface: holds table for patron, shows in the Expiration column 2. Staff interface: placing a hold for the record: . When placing the hold, in the "Hold details section": "Hold expires on date" field . Once hold is place, can edit the date in the Expiration column (this updates the expiration_date column in the database) 3. OPAC: when placing a hold, expand "Show more options", enter a date in "Hold not needed after" field (this updates the expiration_date column in the database, and shows in OPAC summary under holds in the "Expires on" column) 4. If I set DefaultHoldExpirationdate system preference, that date is set for the expiration_date column in the database (if I choose a different date in the OPAC or staff interface, that date is used for the expiration_date column) Also, the tests no longer pass for me, which is a bit strange - both using qa and prove commands. Note: is a yarn api:bundle or yarn build required after apply the patch? I did both. I think I'm probably misunderstanding something, or don't have the right settings, because nothing I do in the staff interface or OPAC updates the patron_expiration_date column in the database (as per discussions in comments 13, 16, 17, and 18). Maybe the statement in the bug description is wrong? (Not that I'd ever say that Nick is wrong about something 8-))
Koha has two fields for hold expiration: expirationdate - (usually) auto generated date set based no when holds on the shelf expire patron_exiration_date - the day the patron says they don't need the hold after
-- You are receiving this mail because: You are watching all bug changes.