3 SELECT evergreen.upgrade_deps_block_check('0574', :eg_version);
5 UPDATE action_trigger.event_definition SET template =
9 table { border-collapse: collapse; }
10 td { padding: 5px; border-bottom: 1px solid #888; }
11 th { font-weight: bold; }
14 # Sort the holds into copy-location buckets
15 # In the main print loop, sort each bucket by callnumber before printing
18 SET current_location = target.0.current_copy.location.id;
20 IF current_location != hold.current_copy.location.id;
21 SET current_location = hold.current_copy.location.id;
22 holds_list.push(loc_data);
27 'callnumber' => hold.current_copy.call_number.label
29 loc_data.push(hold_data);
31 holds_list.push(loc_data)
38 <th>Shelving Location</th>
45 [% FOR loc_data IN holds_list %]
46 [% FOR hold_data IN loc_data.sort('callnumber') %]
48 SET hold = hold_data.hold;
49 SET copy_data = helpers.get_copy_bib_basics(hold.current_copy.id);
52 <td>[% copy_data.title | truncate %]</td>
53 <td>[% copy_data.author | truncate %]</td>
54 <td>[% hold.current_copy.location.name %]</td>
55 <td>[% hold.current_copy.call_number.label %]</td>
56 <td>[% hold.current_copy.barcode %]
57 [% FOR part IN hold.current_copy.parts %]
61 <td>[% hold.usr.card.barcode %]</td>
70 INSERT INTO action_trigger.environment (
74 (35, 'current_copy.parts'),
75 (35, 'current_copy.parts.part')