Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
if (C4::Context->preference('item-level_itypes')) {
@biblio_itemtypes = $biblio->items->get_column("itype");
} else {
- push @biblio_itemtypes, $biblio->biblioitem->itemtype;
+ push @biblio_itemtypes, $biblio->itemtype;
}
my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') );
my %original = ();
return '1';
} elsif ($pref eq 'EasyAnalyticalRecords') {
return '0';
+ } elsif ($pref eq 'OpenURLResolverURL') {
+ return '0';
+ } elsif ($pref eq 'OPACShowOpenURL') {
+ return '0';
+ } elsif ($pref eq 'OpenURLText') {
+ return '0';
} else {
warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating"
unless $pref =~ m/(XSLT|item|branch|holding|image)/i;