Bugzilla – Attachment 100964 Details for
Bug 23204
Add script for exporting Elasticsearch mappings to YAML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23204: sort search fields by name
Bug-23204-sort-search-fields-by-name.patch (text/plain), 919 bytes, created by
Bernardo Gonzalez Kriegel
on 2020-03-18 14:32:32 UTC
(
hide
)
Description:
Bug 23204: sort search fields by name
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2020-03-18 14:32:32 UTC
Size:
919 bytes
patch
obsolete
>From d489d79148b2876f2b02e6731760eb9378c95af4 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Thu, 3 Oct 2019 07:23:07 +0000 >Subject: [PATCH] Bug 23204: sort search fields by name > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.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 b18d05bddf..87431325ca 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -257,7 +257,7 @@ sub raw_elasticsearch_mappings { > > my $schema = Koha::Database->new()->schema(); > >- my $search_fields = Koha::SearchFields->search(); >+ my $search_fields = Koha::SearchFields->search({}, { order_by => { -asc => 'name' } }); > > my $mappings = {}; > while ( my $search_field = $search_fields->next ) { >-- >2.17.1
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 23204
:
90999
|
91350
|
92022
|
92023
|
92024
|
92174
|
93524
|
95986
|
100960
|
100961
|
100962
|
100963
|
100964
|
100965
|
101742
|
101850
|
101851
|
101852
|
101853
|
101854
|
101855
|
101856
|
101857
|
101858
|
102010