To match the TPAC, only disable org units where can_have_vols is false
in the hold pickup library selector (plus those explicitly disabled via
setting).
Also fixes a thinko in the settings retrieval code.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
.then(setting => this.puLibWsFallback = setting === true);
this.org.list().forEach(org => {
- if (org.ou_type().can_have_users() === 'f' ||
- org.ou_type().can_have_vols() === 'f') {
+ if (org.ou_type().can_have_vols() === 'f') {
this.disableOrgs.push(org.id());
}
});
($summary->{has_workstation_setting} || '') eq 't'
);
+ $summary->{value} = OpenSRF::Utils::JSON->JSON2perl($summary->{value});
+
$client->respond({org_unit => $org_id, summary => $summary});
}