Bugzilla – Attachment 45795 Details for
Bug 9819
stopwords related code should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9819: Make the tests pass
Bug-9819-Make-the-tests-pass.patch (text/plain), 1.87 KB, created by
Chris Cormack
on 2015-12-18 00:00:25 UTC
(
hide
)
Description:
Bug 9819: Make the tests pass
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2015-12-18 00:00:25 UTC
Size:
1.87 KB
patch
obsolete
>From b8005869fd563b79808d46b67aa98c3397699f1d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 15 Dec 2015 10:07:39 +0000 >Subject: [PATCH] Bug 9819: Make the tests pass > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/Search.pm | 6 +++--- > t/db_dependent/Search.t | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index b6cebfe..a2df857 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1451,10 +1451,10 @@ sub buildQuery { > if ( @limits ) { > $q .= ' and '.join(' and ', @limits); > } >- return ( undef, $q, $q, "q=ccl=".uri_escape_utf8($q), $q, '', '', '', '', 'ccl' ); >+ return ( undef, $q, $q, "q=ccl=".uri_escape_utf8($q), $q, '', '', '', 'ccl' ); > } > if ( $query =~ /^cql=/ ) { >- return ( undef, $', $', "q=cql=".uri_escape_utf8($'), $', '', '', '', '', 'cql' ); >+ return ( undef, $', $', "q=cql=".uri_escape_utf8($'), $', '', '', '', 'cql' ); > } > if ( $query =~ /^pqf=/ ) { > if ($query_desc) { >@@ -1463,7 +1463,7 @@ sub buildQuery { > $query_desc = $'; > $query_cgi = "q=pqf=".uri_escape_utf8($'); > } >- return ( undef, $', $', $query_cgi, $query_desc, '', '', '', '', 'pqf' ); >+ return ( undef, $', $', $query_cgi, $query_desc, '', '', '', 'pqf' ); > } > > # pass nested queries directly >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index cde59bd..c61c583 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -968,12 +968,12 @@ sub run_unimarc_search_tests { > } > > subtest 'MARC21 + GRS-1' => sub { >- plan tests => 110; >+ plan tests => 107; > run_marc21_search_tests('grs1'); > }; > > subtest 'MARC21 + DOM' => sub { >- plan tests => 110; >+ plan tests => 107; > run_marc21_search_tests('dom'); > }; > >-- >2.6.4
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 9819
:
17341
|
17342
|
17343
|
17558
|
17559
|
17560
|
17587
|
45685
|
45686
|
45687
|
45688
|
45689
|
45791
|
45792
|
45793
|
45794
|
45795
|
45854
|
45855
|
45856
|
45857
|
45858
|
46092