From: Kyle Huckins Date: Mon, 9 May 2022 18:00:21 +0000 (+0000) Subject: lp1913815 Score Course Browse Corrections X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4c411a0c2d922c9f3b281e807bd3b485ac146cf0;p=working%2FEvergreen.git lp1913815 Score Course Browse Corrections - Ensure scope includes descendants of selected Org Unit Signed-off-by: Kyle Huckins --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm index dc6049e759..c27bc38b82 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm @@ -123,7 +123,7 @@ sub load_course_browse { "order_by" => {"acmc" => [$qtype]}, "where" => { '-not' => {'+acmc' => 'is_archived'}, - '+acmc' => { 'owning_lib' => $locg } + '+acmc' => { 'owning_lib' => $U->get_org_descendants($locg) } } }); }