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

(-)a/catalogue/detail.pl (-1 / +1 lines)
Lines 153-159 if ( $xslfile ) { Link Here
153
    $cleaned_title =~ tr|/||;
153
    $cleaned_title =~ tr|/||;
154
    my $query =
154
    my $query =
155
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
155
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
156
      ? 'rcn:'. $record->field('001')->data . ' and (bib-level:a or bib-level:b)'
156
      ? 'rcn:'. $record->field('001')->data . ' AND (bib-level:a OR bib-level:b)'
157
      : "Host-item:$cleaned_title";
157
      : "Host-item:$cleaned_title";
158
    my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 );
158
    my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 );
159
159
(-)a/opac/opac-detail.pl (-2 / +1 lines)
Lines 189-195 if ( $xslfile ) { Link Here
189
    $cleaned_title =~ tr|/||;
189
    $cleaned_title =~ tr|/||;
190
    my $query =
190
    my $query =
191
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
191
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
192
      ? 'rcn:'. $record->field('001')->data . ' and (bib-level:a or bib-level:b)'
192
      ? 'rcn:'. $record->field('001')->data . ' AND (bib-level:a OR bib-level:b)'
193
      : "Host-item:$cleaned_title";
193
      : "Host-item:$cleaned_title";
194
    my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 );
194
    my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 );
195
195
196
- 

Return to bug 15851