]> git.koha-community.org Git - koha.git/commit
Bug 35307: Add a hidden input for expired holds
authorNick Clemens <nick@bywatersolutions.com>
Mon, 13 Nov 2023 16:02:46 +0000 (16:02 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 18 Dec 2023 10:04:31 +0000 (11:04 +0100)
commit4fdfb7e49000bda73bc1a3f80e67c643f79ac70b
treedd871f1bd7a5944ad48692dc7e08b77c3dc9ea47
parentb44fc4918e383db6555552e9b8231e31c9e6f05b
Bug 35307: Add a hidden input for expired holds

To test:
 1 - Place 3 holds on a bib, each for a different patron
 2 - IN the db, set the first hold to be expired:
    UPDATE reserves SET expirationdate='2023-01-01' WHERE reserve_id=1;
 3 - Refresh the holds page for the biblio
 4 - Note the first hold now says 'Expired' in the expiration date column
 5 - Set an expiration date for the last hold
 6 - Click 'Update holds'
 7 - Note the date is applied to the second hold
 8 - Delete the holds
 9 - Apply patch
10 - Repeat 1-6
11 - Confirm only the correct hold is updated

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit ca5378cd946fd3c5496dab155ff112f0c245f71b)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc