Bug 34569: Fix misc/cronjobs/holds/holds_reminder.pl trigger arg

misc/cronjobs/holds/holds_reminder.pl help says one can use arge -t for --triggered
But not implemented in code.
Should be like in misc/cronjobs/overdue_notices.pl :
  't|triggered'    => \$triggered,

Test plan :
Play with misc/cronjobs/holds/holds_reminder.pl with arg -t and
--trigger

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Fridolin Somers 2023-08-17 10:42:31 -10:00 committed by Tomas Cohen Arazi
parent 0710ccb606
commit f4f4feb50b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -87,7 +87,7 @@ Optional parameter, number of days an items has been 'waiting' on hold
to send a message for. If not included a notice will be sent to all
patrons with waiting holds.
=item B<-triggered>
=item B<-t> | B<--triggered>
Optional parameter, only send notices for holds exactly <days> waiting.
If not included a notice will be sent to all patrons with waiting holds
@ -184,7 +184,7 @@ GetOptions(
'v' => \$verbose,
'c|confirm' => \$confirm,
'days=s' => \$days,
'triggered' => \$triggered,
't|triggered' => \$triggered,
'lettercode=s' => \$lettercode,
'library=s' => \@branchcodes,
'date=s' => \$date_input,