From 74c1c67a0cf95462e5cceaf8264ed6ec91619baf Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Fri, 3 Dec 2021 17:12:59 -0500 Subject: [PATCH] PINES OPAC Holdings Sorting This adds back the customization to sort holdings by system before sorting by branch. Signed-off-by: Terran McCanna --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 4 ++++ 1 file changed, 4 insertions(+) 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 38e43814ed..e6cb0fb4e0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -409,6 +409,10 @@ sub mk_copy_query { }; }; + # PINES customization to sort by system first + unshift(@{$query->{order_by}}, { class => 'parent', field => 'name' }); + + my $ou_sort_param = [$org, $pref_ou ]; if ($coords && ref($coords) -- 2.11.0