From a17c3985b4ae34546e267b4f810e8326b6bfea82 Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Tue, 13 Aug 2024 10:38:25 +0300 Subject: [PATCH] Make sure query element is defined. --- module/VuFind/src/VuFind/ILS/Driver/KohaRest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaRest.php b/module/VuFind/src/VuFind/ILS/Driver/KohaRest.php index a9f4b4324c9..ba5e449daa2 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/KohaRest.php +++ b/module/VuFind/src/VuFind/ILS/Driver/KohaRest.php @@ -2012,6 +2012,7 @@ protected function getItemStatusesForBiblio($id, $patron = null) 'search', ], 'errors' => true, + 'query' => [], ]; if ($this->includeSuspendedHoldsInQueueLength) { $requestParams['query']['include_suspended_in_hold_queue'] = '1';