From: Ben Shum Date: Mon, 31 Dec 2012 22:00:21 +0000 (-0500) Subject: LP1092921 - Add prefix and suffix to simplified pull list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fbshum%2Fsimple-pull-list-prefix-suffix;p=working%2FEvergreen.git LP1092921 - Add prefix and suffix to simplified pull list As described in LP 1092921, prefix and suffix are not included when sorting using call numbers in the simplified pull list. This patch adds columns for prefix and suffix so that it is possible to sort with them if configured to do so. Signed-off-by: Ben Shum --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index a7a765dbfb..3d8c392892 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -5045,8 +5045,12 @@ SELECT usr, COALESCE(au.second_given_name, '') ], ' '), E'\\s+,', ',') END AS usr_display_name, - TRIM(acnp.label || ' ' || acn.label || ' ' || acns.label) + TRIM(acnp.label) + AS call_number_prefix, + TRIM(acn.label) AS call_number_label, + TRIM(acns.label) + AS call_number_suffix, siss.label AS issuance_label, (ahr.usr <> ahr.requestor) AS is_staff_hold, ahcm_1.copy_count AS potential_copies @@ -5131,7 +5135,9 @@ SELECT usr, + + diff --git a/Open-ILS/src/templates/circ/hold_pull_list.tt2 b/Open-ILS/src/templates/circ/hold_pull_list.tt2 index 67056a811a..9a4ca3fb32 100644 --- a/Open-ILS/src/templates/circ/hold_pull_list.tt2 +++ b/Open-ILS/src/templates/circ/hold_pull_list.tt2 @@ -90,7 +90,9 @@ [% l('Shelving Location') %] + [% l('Call Number Prefix') %] + [% l('Call Number Suffix') %] [% l('Author') %] [% l('Title') %]