View | Details | Raw Unified | Return to bug 8995
Collapse All | Expand All

(-)a/C4/XSLT.pm (-1 / +1 lines)
Lines 252-258 sub XSLTParse4Display { Link Here
252
        if (C4::Context->preference('item-level_itypes')) {
252
        if (C4::Context->preference('item-level_itypes')) {
253
            @biblio_itemtypes = $biblio->items->get_column("itype");
253
            @biblio_itemtypes = $biblio->items->get_column("itype");
254
        } else {
254
        } else {
255
            push @biblio_itemtypes, $biblio->biblioitem->itemtype;
255
            push @biblio_itemtypes, $biblio->itemtype;
256
        }
256
        }
257
        my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') );
257
        my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') );
258
        my %original = ();
258
        my %original = ();
(-)a/t/db_dependent/Search.t (-1 / +6 lines)
Lines 180-185 $contextmodule->mock('preference', sub { Link Here
180
        return '1';
180
        return '1';
181
    } elsif ($pref eq 'EasyAnalyticalRecords') {
181
    } elsif ($pref eq 'EasyAnalyticalRecords') {
182
        return '0';
182
        return '0';
183
    } elsif ($pref eq 'OpenURLResolverURL') {
184
        return '0';
185
    } elsif ($pref eq 'OPACShowOpenURL') {
186
        return '0';
187
    } elsif ($pref eq 'OpenURLText') {
188
        return '0';
183
    } else {
189
    } else {
184
        warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating"
190
        warn "The syspref $pref was requested but I don't know what to say; this indicates that the test requires updating"
185
            unless $pref =~ m/(XSLT|item|branch|holding|image)/i;
191
            unless $pref =~ m/(XSLT|item|branch|holding|image)/i;
186
- 

Return to bug 8995