From cf2f093191e75f955c1923d73c1090eef79095d0 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 5 Sep 2019 08:31:02 -0400 Subject: [PATCH] Always retrieve varFields for status information. (#1427) - This was previously limited to monographs for performance reasons, but some non-monographs need this data too. --- module/VuFind/src/VuFind/ILS/Driver/SierraRest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/SierraRest.php b/module/VuFind/src/VuFind/ILS/Driver/SierraRest.php index 075b903fa76..bbc2693dae1 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/SierraRest.php +++ b/module/VuFind/src/VuFind/ILS/Driver/SierraRest.php @@ -1686,11 +1686,7 @@ class SierraRest extends AbstractBase implements TranslatorAwareInterface, $offset = 0; $limit = 50; - $fields = 'location,status,barcode,callNumber,fixedFields'; - if ('m' !== ($bib['bibLevel']['code'] ?? null)) { - // Fetch varFields for volume information - $fields .= ',varFields'; - } + $fields = 'location,status,barcode,callNumber,fixedFields,varFields'; $statuses = []; $sort = 0; while (!isset($result) || $limit === $result['total']) { -- GitLab