[Koha-bugs] [Bug 24194] Add system preference to disable the use of expiration dates for holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 16 21:58:17 CET 2023


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

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #150799|0                           |1
        is obsolete|                            |

--- Comment #67 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 159060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159060&action=edit
Bug 24194: Add ReserveExpiration system preference to disable expiration date
options for reserves

To test:
1) Update database
2) Go to place a hold on any biblio in the staff intranet and confirm you can
see the 'Hold expires on date' field.
3) In another tab, go to place a hold on any biblio in the OPAC and confirm you
can see the 'Hold not needed after' field as an option.
4) In yet another tab, open the staff intranet and place a reserve for a user.
Check it in and set the reserve as waiting. Notice that an expiration date has
now been generated for this reserve.
5) Attempt to check out the item you reserved to some other borrower. Revert
waiting status. Notice that the expiration date that was generated remains.
6) Go to Administration -> system preferences and set ReserveExpiration system
preference to 'Disable'
7) Refresh the hold request page in the intranet. Confirm the expiration date
field disappears.
8) Refresh the hold request page in the OPAC. Confirm the expiration date field
disappears.
9) Place another reserve. Check it in and set the reserve as waiting. Notice
that no expiration date was generated for this reserve.
10) Attempt to check out the item you reserved to some other borrower. Revert
waiting status. The expiration date should remain null.
11) Confirm tests pass
t/db_dependent/Hold.t
t/db_dependent/Reserves.t
12) Go to Admin -> System preferences and search for ReserveExpiration.
Confirm related system preferences have a reference to ReserveExpiration
and the links all work
13) Text the cancel_expired_holds.pl cronjob and confirm it works with
ReserveExpiration enabled, and does nothing when disabled
14) Confirm all instances where hold expiration dates are set or
referenced are shown or hidden correctly, depending on
ReserveExpiration

Pages in the staff interface:

- Check out to a patron and check the holds tab
- View patron details and check the holds tab
- Patron hold history
- Patron details -> Print -> Print summary
- Place a hold on a title which already has at least one hold on it,
  check the table of existing holds.
- Circulation -> Holds awaiting pickup

Pages in the OPAC:

- Log in to the OPAC as a patron with holds
  - Your summary -> Holds tab
  - Your holds history (OPACHoldsHistory must be enabled).

Sponsored-by: Horowhenua Library Trust

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Nicolas Giraud <nicolas.giraud at inlibro.com>

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


More information about the Koha-bugs mailing list