Bugzilla – Attachment 169712 Details for
Bug 37494
catalogue/showelastic.pl missing parameter "type"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37494: Fix catalogue/showelastic.pl missing parameter "type"
Bug-37494-Fix-catalogueshowelasticpl-missing-param.patch (text/plain), 1.02 KB, created by
Fridolin Somers
on 2024-07-26 13:32:55 UTC
(
hide
)
Description:
Bug 37494: Fix catalogue/showelastic.pl missing parameter "type"
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2024-07-26 13:32:55 UTC
Size:
1.02 KB
patch
obsolete
>From 8433d592c86cd61e1f7ddfa26f6e8d1c475d6248 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 26 Jul 2024 15:28:38 +0200 >Subject: [PATCH] Bug 37494: Fix catalogue/showelastic.pl missing parameter > "type" > >In Bug 35618 Danyon provides a counter patch that fixes >catalogue/showelastic.pl missing parameter "type". > >ES 7/8 uses '_doc' > >Test plan : >1) Use Elasticsearch search engine >2) Search whatever you want in Search the catalog and select a notice >3) Click on "Elasticsearch Record :" link >=> Without patch you have HTTP 404 >=> With patch you see datas in JSON >--- > catalogue/showelastic.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/catalogue/showelastic.pl b/catalogue/showelastic.pl >index 0b19704c5b..5de55fdeb9 100755 >--- a/catalogue/showelastic.pl >+++ b/catalogue/showelastic.pl >@@ -60,6 +60,7 @@ my @es_fields; > try { > $es_record = $es->get_elasticsearch()->get({ > index => $es->index_name, >+ type => '_doc', > id => $biblionumber, > }); > } >-- >2.45.2
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 37494
: 169712