From 70134724fb0f6f03d818be5f8dd13516b43a2bc0 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Mon, 18 Dec 2017 11:43:00 -0500 Subject: [PATCH] Revert "Fix for org unit order in OPAC holdings list (adapted from" This reverts commit 02778825199abf50891b4c247cb65526fbe6824b. --- .../src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 4365dc1cb7..c071c2452b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -310,19 +310,9 @@ sub mk_copy_query { where => {id => $org} } } - }, - join => { 'parent' => { 'class' => 'aou', 'fkey' => 'parent_ou'} } - } - } - else { - $query->{from}->{acp}->{aou} = { join => { 'parent' => { 'class' => 'aou', 'fkey' => 'parent_ou'} } }; - }; - - unshift(@{$query->{order_by}}, - { - class => 'parent', field => 'name' - } - ); + } + }}; + }; # Unsure if we want these in the shared function, leaving here for now unshift(@{$query->{order_by}}, -- 2.11.0