Skip to content
Snippets Groups Projects
Commit cf2f0931 authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Always retrieve varFields for status information. (#1427)

- This was previously limited to monographs for performance reasons, but some non-monographs need this data too.
parent 646f23c1
No related merge requests found
......@@ -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']) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment