Revert "Re-apply fix for Fix for org unit order in OPAC holdings list"
authorChris Sharp <csharp@georgialibraries.org>
Mon, 18 Dec 2017 19:37:12 +0000 (14:37 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 19 Oct 2018 11:52:40 +0000 (07:52 -0400)
This reverts commit 83aef4b5a3714c87080de52082b9327036271ba7.

Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm

index fcea78b..c071c24 100644 (file)
@@ -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}},