Bugzilla – Attachment 109462 Details for
Bug 15851
Only display "Analytics: Show analytics" when records have linked analytics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15851: (QA follow-up) Fix booleans to uppercase to make this work for Elasticsearch and UseControlNumber
Bug-15851-QA-follow-up-Fix-booleans-to-uppercase-t.patch (text/plain), 1.64 KB, created by
Katrin Fischer
on 2020-09-01 20:14:21 UTC
(
hide
)
Description:
Bug 15851: (QA follow-up) Fix booleans to uppercase to make this work for Elasticsearch and UseControlNumber
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-01 20:14:21 UTC
Size:
1.64 KB
patch
obsolete
>From f3ba63bad6c8d8e9ab35ba0ae5edb2a68245f139 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Tue, 1 Sep 2020 03:37:22 +0000 >Subject: [PATCH] Bug 15851: (QA follow-up) Fix booleans to uppercase to make > this work for Elasticsearch and UseControlNumber > >Same test plan as before, but with UseControlNumber = Use and >Elasticsearch. >--- > catalogue/detail.pl | 2 +- > opac/opac-detail.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index baab67bf62..ffdf850e68 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -153,7 +153,7 @@ if ( $xslfile ) { > $cleaned_title =~ tr|/||; > my $query = > ( C4::Context->preference('UseControlNumber') and $record->field('001') ) >- ? 'rcn:'. $record->field('001')->data . ' and (bib-level:a or bib-level:b)' >+ ? 'rcn:'. $record->field('001')->data . ' AND (bib-level:a OR bib-level:b)' > : "Host-item:$cleaned_title"; > my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 ); > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 4e789cb8b5..8d4723e338 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -189,7 +189,7 @@ if ( $xslfile ) { > $cleaned_title =~ tr|/||; > my $query = > ( C4::Context->preference('UseControlNumber') and $record->field('001') ) >- ? 'rcn:'. $record->field('001')->data . ' and (bib-level:a or bib-level:b)' >+ ? 'rcn:'. $record->field('001')->data . ' AND (bib-level:a OR bib-level:b)' > : "Host-item:$cleaned_title"; > my ( $err, $result, $count ) = $searcher->simple_search_compat( $query, 0, 0 ); > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15851
:
66593
|
106260
|
106261
|
106821
|
106822
|
106988
|
106989
|
106990
|
108049
|
108050
|
108051
|
109267
|
109268
|
109269
|
109459
|
109460
|
109461
| 109462