From c20996c75f09bb13865ff7e7148379198e9d2db6 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 f3cc243d9d..d7115cada5 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -403,6 +403,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