LP 1749502: Add Call Number Prefix & Suffix to pull list print template.
authorJason Stephenson <jason@sigio.com>
Wed, 12 Sep 2018 19:34:56 +0000 (15:34 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 19 Mar 2019 21:19:03 +0000 (17:19 -0400)
We add the call number prefix and suffix as separate columns to the
holds pull list print template.  We also add the suffix to the end of
the orderBy so that we also sort by the suffix.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>

Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2

index 5a06dde..cecb377 100644 (file)
@@ -24,17 +24,21 @@ Template for printing a table of holds to pull. Fields include:
       <th>[% l('Title') %]</th>
       <th>[% l('Author') %]</th>
       <th>[% l('Shelf Location') %]</th>
+      <th>[% l('Call Number Prefix') %]</th>
       <th>[% l('Call Number') %]</th>
+      <th>[% l('Call Number Suffix') %]</th>
       <th>[% l('Barcode/Part') %]</th>
     </tr>
   </thead>
   <tbody>
-    <tr ng-repeat="hold_data in holds | orderBy : ['hold._copy_location_position', 'volume.prefix', 'volume.label']">
+    <tr ng-repeat="hold_data in holds | orderBy : ['hold._copy_location_position', 'volume.prefix', 'volume.label', 'volume.suffix']">
       <td>{{hold_data.hold.hold_type}}</td>
       <td>{{hold_data.title}}</td>
       <td>{{hold_data.author}}</td>
       <td>{{hold_data.copy.location.name}}</td>
+      <td>{{hold_data.volume.prefix}}</td>
       <td>{{hold_data.volume.label}}</td>
+      <td>{{hold_data.volume.suffix}}</td>
       <td>{{hold_data.copy.barcode}} {{hold_data.part.label}}</td>
     </tr>
   </tbody>