From 4c411a0c2d922c9f3b281e807bd3b485ac146cf0 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Mon, 9 May 2022 18:00:21 +0000 Subject: [PATCH] lp1913815 Score Course Browse Corrections - Ensure scope includes descendants of selected Org Unit Signed-off-by: Kyle Huckins --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } }); } -- 2.11.0