From d3f464a15cba5fcde773fd4e79c6280460f19c1f Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Mon, 2 Apr 2012 11:02:03 -0400 Subject: [PATCH] more Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/examples/fm_IDL.xml | 17 +++++++++++++-- .../Pg/upgrade/XXXX.schema.hold-pull-list-view.sql | 25 ---------------------- Open-ILS/src/templates/circ/hold_pull_list.tt2 | 2 +- 3 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-pull-list-view.sql diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 2947880028..2498393286 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -4763,7 +4763,7 @@ SELECT usr, - + @@ -4826,7 +4826,20 @@ SELECT usr, - + + NOW()) + ]]> diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-pull-list-view.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-pull-list-view.sql deleted file mode 100644 index 3f38730bdc..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-pull-list-view.sql +++ /dev/null @@ -1,25 +0,0 @@ --- Evergreen DB patch XXXX.schema.hold-pull-list-view.sql --- --- FIXME: insert description of change, if needed --- -BEGIN; - - --- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -CREATE VIEW action.hold_pull_list AS - SELECT - ahr.*, - COALESCE(999, acplo.position) AS copy_location_order_position - FROM action.hold_request ahr - JOIN asset.copy acp ON (acp.id = ahr.current_copy) - LEFT JOIN asset.copy_location_order acplo - ON (acp.location = acplo.location AND acp.circ_lib = acplo.org) - WHERE - ahr.capture_time IS NULL AND - ahr.cancel_time IS NULL AND - (ahr.expire_time is NULL OR ahr.expire_time > NOW()) ; - - -COMMIT; diff --git a/Open-ILS/src/templates/circ/hold_pull_list.tt2 b/Open-ILS/src/templates/circ/hold_pull_list.tt2 index 31ec209a5c..aef4e4f545 100644 --- a/Open-ILS/src/templates/circ/hold_pull_list.tt2 +++ b/Open-ILS/src/templates/circ/hold_pull_list.tt2 @@ -27,7 +27,7 @@ editOnEnter="true" editStyle="pane" showLoadFilter="true" - fmClass="'ahpl'" + fmClass="'ahopl'" baseSort="['copy_location_sort_order','call_number']" mapExtras="{copy_circ_lib:{path:'current_copy.circ_lib',filter:true}}" query="{copy_circ_lib: 4}"> -- 2.11.0