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>
(cherry picked from commit f4f4feb50b
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
0594b63bae
commit
d019a68079
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue