Bugzilla – Attachment 114275 Details for
Bug 12430
Relevance ranking should also be used without QueryWeightFields system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12430: Fix Search.t failure
Bug-12430-Fix-Searcht-failure.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2020-12-09 09:52:44 UTC
(
hide
)
Description:
Bug 12430: Fix Search.t failure
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-12-09 09:52:44 UTC
Size:
1.13 KB
patch
obsolete
>From 00960a14681aca0442c912ff5525aa6f1036b546 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 9 Dec 2020 10:52:15 +0100 >Subject: [PATCH] Bug 12430: Fix Search.t failure > >t/db_dependent/Search.t .. > # Failed test 'buildQuery should keep 0 value' > # at t/db_dependent/Search.t line 669. > # got: 'su,phr=(rk=(0)) ' > # expected: 'su,phr=0(rk=(0)) ' >--- > t/db_dependent/Search.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 6a520bc6f8..7065380840 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -666,7 +666,7 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > ( $error, $query, $simple_query, $query_cgi, > $query_desc, $limit, $limit_cgi, $limit_desc, > $query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); >- is($query, 'su,phr=0 ', 'buildQuery should keep 0 value'); >+ is($query, 'su,phr=(rk=(0)) ', 'buildQuery should keep 0 value'); > > # Bug 23086 > ( $error, $query, $simple_query, $query_cgi, >-- >2.20.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 12430
:
28880
|
96167
|
98188
|
98619
|
99141
|
99142
|
99158
|
114129
|
114130
|
114131
|
114132
|
114137
|
114138
|
114200
|
114205
| 114275