Bug 23204: Sort search fields by name

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Alex Arnaud 2019-10-03 07:23:07 +00:00 committed by Martin Renvoize
parent e160af97a6
commit c338829aba
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,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 ) {