From 6c14f71072867faba58232f0abd07137f0d635e8 Mon Sep 17 00:00:00 2001 From: Kirstien Kroeger Date: Mon, 20 May 2024 15:17:54 -0500 Subject: [PATCH 1/2] update checkout hold icon --- code/aspen_app/src/screens/MyAccount/TitlesOnHold/MyHold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/aspen_app/src/screens/MyAccount/TitlesOnHold/MyHold.js b/code/aspen_app/src/screens/MyAccount/TitlesOnHold/MyHold.js index 0b2d7b0c33..ac5ab09372 100644 --- a/code/aspen_app/src/screens/MyAccount/TitlesOnHold/MyHold.js +++ b/code/aspen_app/src/screens/MyAccount/TitlesOnHold/MyHold.js @@ -173,7 +173,7 @@ export const MyHold = (props) => { startCheckingOut(false); }); }} - startIcon={}> + startIcon={}> {getTermFromDictionary(language, 'checkout_title')} ); From 8eb99a1850509b25a42e366760ee7a2b304aca02 Mon Sep 17 00:00:00 2001 From: Kirstien Kroeger Date: Mon, 20 May 2024 15:29:46 -0500 Subject: [PATCH 2/2] fix results for accessible sys rec category --- code/web/services/Browse/AJAX.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/web/services/Browse/AJAX.php b/code/web/services/Browse/AJAX.php index 61094006ec..4f0873ae46 100644 --- a/code/web/services/Browse/AJAX.php +++ b/code/web/services/Browse/AJAX.php @@ -466,6 +466,7 @@ private function getSuggestionsBrowseCategoryResults($pageToLoad = 1) { $browseMode = $this->setBrowseMode(); global $interface; + $accessibleBrowseCategories = $interface->getVariable('accessibleBrowseCategories'); $interface->assign('browseCategoryId', $this->textId); $result['success'] = true; $result['textId'] = $this->textId; @@ -497,7 +498,12 @@ private function getSuggestionsBrowseCategoryResults($pageToLoad = 1) { $records[] = $interface->fetch('Browse/noResults.tpl'); } - $result['records'] = implode('', $records); + if($accessibleBrowseCategories == '1' || $accessibleBrowseCategories == 1) { + $result['records'] = $records; + } else { + $result['records'] = implode('', $records); + } + $result['numRecords'] = count($records); return $result;