Koha/misc
Nick Clemens 4c3d18091d
Bug 31540: Exclude expired holds from the reminder job
Some libraries don't want to auto-cancel holds, but we should not remind
a patron about a hold which has expired.

To test:
1 - Place a hold for a patron
2 - Set it waiting
3 - Run the holds reminder script in the future
    perl misc/cronjobs/holds/holds_reminder.pl -day 1 --date '2023-09-12' -v
4 - Note the holds would be reminded
5 - Set expirationdate for the hold less than today
    UPDATE reserves SET expirationdate = DATE_SUB(CURDATE(), INTERVAL 1 DAY);
6 - Run the remidner cron again
7 - No holds trigger!

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 08:39:06 -03:00
..
admin Bug 31325: Fix koha-preferences get 2022-08-16 09:11:40 -03:00
bin
cronjobs Bug 31540: Exclude expired holds from the reminder job 2022-10-03 08:39:06 -03:00
devel
interface_customization
load_testing
maintenance Bug 31299: Fix duplicate output in search_for_data_inconsistencies.pl 2022-09-16 16:46:41 -03:00
migration_tools Bug 31312: Remove GetItemsInfo from misc/migration_tools/rebuild_zebra.pl 2022-08-16 10:40:17 -03:00
release_notes
search_tools
translator Bug 31292: Untranslatable string in sample_notices.yaml 2022-08-08 13:10:56 -03:00
add_date_fields_to_marc_records.pl
add_statistics_borrowers_categorycode.pl Bug 7021: Remove superflous 'open' 2022-09-22 09:31:28 -03:00
background_jobs_worker.pl Bug 31351: (QA follow-up) Use $self->json in Background modules 2022-09-07 13:59:03 -07:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl
batchRebuildItemsTables.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
batchRepairMissingBiblionumbers.pl
check_sysprefs.pl
commit_file.pl
export_borrowers.pl Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
export_records.pl
exportauth.pl
import_patrons.pl
koha-install-log
link_bibs_to_authorities.pl
load_yaml.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
process_ill_updates.pl Bug 30484: Implement support for ILL request updates 2022-09-23 09:18:45 -03:00
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl
stage_file.pl
z3950_responder.pl