Bugzilla – Attachment 73480 Details for
Bug 20385
ElasticSearch authority search raises Software error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20385: (follow-up) Assign blank instead of inappropraite value
Bug-20385-follow-up-Assign-blank-instead-of-inappr.patch (text/plain), 1.18 KB, created by
Alex Arnaud
on 2018-03-30 13:26:30 UTC
(
hide
)
Description:
Bug 20385: (follow-up) Assign blank instead of inappropraite value
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2018-03-30 13:26:30 UTC
Size:
1.18 KB
patch
obsolete
>From 9ac2e77658341ae5d56b63960ff60fa0f06389c5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Mar 2018 17:12:13 +0000 >Subject: [PATCH] Bug 20385: (follow-up) Assign blank instead of inappropraite > value > >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> >--- > Koha/SearchEngine/Elasticsearch/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/Search.pm b/Koha/SearchEngine/Elasticsearch/Search.pm >index 2ddd165..b8f03cb 100644 >--- a/Koha/SearchEngine/Elasticsearch/Search.pm >+++ b/Koha/SearchEngine/Elasticsearch/Search.pm >@@ -217,7 +217,7 @@ sub search_auth_compat { > # with the record. It's not documented why this is the case, so > # it's not reproduced here yet. > my $authtype = $rs->single; >- my $auth_tag_to_report = $authtype ? $authtype->auth_tag_to_report : $authtypecode; >+ my $auth_tag_to_report = $authtype ? $authtype->auth_tag_to_report : ""; > my $marc = $self->json2marc($marc_json); > my $mainentry = $marc->field($auth_tag_to_report); > my $reported_tag; >-- >2.7.4
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 20385
:
72802
|
72810
|
73212
|
73479
| 73480