Bugzilla – Attachment 115939 Details for
Bug 27316
In mappings use yes/no for sortable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27316: (follow-up) Default to 1 if undef in mappings
Bug-27316-follow-up-Default-to-1-if-undef-in-mappi.patch (text/plain), 1.01 KB, created by
Fridolin Somers
on 2021-01-28 14:58:18 UTC
(
hide
)
Description:
Bug 27316: (follow-up) Default to 1 if undef in mappings
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2021-01-28 14:58:18 UTC
Size:
1.01 KB
patch
obsolete
>From 2398eef4551af67b8134f67cb0bc0f450266a3c4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 8 Jan 2021 13:13:48 +0000 >Subject: [PATCH] Bug 27316: (follow-up) Default to 1 if undef in mappings > >Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> >--- > Koha/SearchEngine/Elasticsearch.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 4a2d75d03d..27b33806c9 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -374,7 +374,7 @@ sub reset_elasticsearch_mappings { > $search_field->add_to_search_marc_maps($marc_field, { > facet => $mapping->{facet} || 0, > suggestible => $mapping->{suggestible} || 0, >- sort => $mapping->{sort}, >+ sort => $mapping->{sort} // 1, > search => $mapping->{search} // 1 > }); > } >-- >2.30.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 27316
:
114743
|
114752
|
114943
|
114955
|
115938
|
115939
|
117429
|
117430