3 INSERT INTO config.upgrade_log (version) VALUES ('0084'); -- senator
5 INSERT INTO action_trigger.hook (
11 'hold_request.long_wait',
13 'A patron has been waiting on a hold to be fulfilled for a long time.',
17 INSERT INTO action_trigger.event_definition (
33 'Hold waiting for pickup for long time',
34 'hold_request.long_wait',
42 [%- user = target.0.usr -%]
43 To: [%- params.recipient_email || user.email %]
44 From: [%- params.sender_email || default_sender %]
45 Subject: Long Wait Hold Notification
47 Dear [% user.family_name %], [% user.first_given_name %]
49 You requested hold(s) on the following item(s), but unfortunately
50 we have not been able to fulfill your request after a considerable
51 length of time. If you would still like to recieve these items,
52 no action is required.
54 [% FOR hold IN target %]
55 Title: [% hold.bib_rec.bib_record.simple_record.title %]
56 Author: [% hold.bib_rec.bib_record.simple_record.author %]
61 INSERT INTO action_trigger.environment (
67 (9, 'bib_rec.bib_record.simple_record');