Bugzilla – Attachment 94656 Details for
Bug 23089
Elasticsearch - cannot sort on non-text fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23089: Fix QueryBuilder tests.
Bug-23089-Fix-QueryBuilder-tests.patch (text/plain), 1.16 KB, created by
Nick Clemens (kidclamp)
on 2019-10-24 11:22:20 UTC
(
hide
)
Description:
Bug 23089: Fix QueryBuilder tests.
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-10-24 11:22:20 UTC
Size:
1.16 KB
patch
obsolete
>From 6758b73e7ccbae33bd50a5f9687ff4077ed7de79 Mon Sep 17 00:00:00 2001 >From: Ere Maijala <ere.maijala@helsinki.fi> >Date: Thu, 24 Oct 2019 13:35:52 +0300 >Subject: [PATCH] Bug 23089: Fix QueryBuilder tests. > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >index fd983498aa..02800c3b48 100644 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >@@ -211,7 +211,7 @@ subtest 'build_query tests' => sub { > $query->{sort}, > [ > { >- 'title__sort.phrase' => { >+ 'title__sort' => { > 'order' => 'asc' > } > } >@@ -602,7 +602,7 @@ subtest "_sort_field() tests" => sub { > my $f = $qb->_sort_field('title'); > is( > $f, >- 'title__sort.phrase', >+ 'title__sort', > 'title sort mapped correctly' > ); > >-- >2.11.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 23089
:
90451
|
93982
|
93983
|
94617
|
94618
|
94653
|
94656
|
94944
|
94945
|
94946
|
95390
|
96423