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

(-)a/catalogue/itemsearch.pl (-4 / +4 lines)
Lines 143-152 if (scalar keys %params > 0) { Link Here
143
        my $q = shift @q;
143
        my $q = shift @q;
144
        my $op = shift @op;
144
        my $op = shift @op;
145
        if (defined $q and $q ne '') {
145
        if (defined $q and $q ne '') {
146
            if (C4::Context->preference("marcflavour") ne "UNIMARC" && $field eq 'publicationyear') {
147
                $field = 'copyrightdate';
148
            }
149
146
            if ($i == 0) {
150
            if ($i == 0) {
147
                if (C4::Context->preference("marcflavour") ne "UNIMARC" && $field eq 'publicationyear') {
148
                    $field = 'copyrightdate';
149
                }
150
                $f = {
151
                $f = {
151
                    field => $field,
152
                    field => $field,
152
                    query => $q,
153
                    query => $q,
153
- 

Return to bug 23970