Bugzilla – Attachment 35609 Details for
Bug 11193
Update Queryparser conf file to take into account changes made by bug 8252
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 2/2] Bug 11193 : Followup - fix tests
0004-followup.patch (text/plain), 1.58 KB, created by
Mathieu Saby
on 2015-01-29 14:57:02 UTC
(
hide
)
Description:
[PATCH 2/2] Bug 11193 : Followup - fix tests
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2015-01-29 14:57:02 UTC
Size:
1.58 KB
patch
obsolete
>From 722d9fac6207e99a86ad7859fa10cd4fb9ed25a5 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathsabypro@gmail.com> >Date: Thu, 29 Jan 2015 15:53:30 +0100 >Subject: [PATCH 2/2] Bug 11193 : Followup - fix tests >Content-Type: text/plain; charset="utf-8" > >This patch fixes one broken line in YAML configuration file >It also changes the number of fields for keyword class from 111 to 121 in QueryParser.t > >--- > etc/searchengine/queryparser.yaml | 2 +- > t/QueryParser.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/etc/searchengine/queryparser.yaml b/etc/searchengine/queryparser.yaml >index 1786e63..d1be17d 100644 >--- a/etc/searchengine/queryparser.yaml >+++ b/etc/searchengine/queryparser.yaml >@@ -524,7 +524,7 @@ field_mappings: > - ff8-19 > - regularity-code > label: Ff8-19 >- ff8-21 >+ ff8-21: > bib1_mapping: > biblioserver: > 1: 8821 >diff --git a/t/QueryParser.t b/t/QueryParser.t >index 7b69430..ad80b75 100644 >--- a/t/QueryParser.t >+++ b/t/QueryParser.t >@@ -17,7 +17,7 @@ ok(defined $QParser, 'Successfully created empty QP object'); > ok($QParser->load_config('./etc/searchengine/queryparser.yaml'), 'Loaded QP config'); > > is($QParser->search_class_count, 4, 'Initialized 4 search classes'); >-is (scalar(@{$QParser->search_fields()->{'keyword'}}), 111, "Correct number of search fields for 'keyword' class"); >+is (scalar(@{$QParser->search_fields()->{'keyword'}}), 121, "Correct number of search fields for 'keyword' class"); > > # Set keyword search as the default > $QParser->default_search_class('keyword'); >-- >1.7.9.5 >
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 11193
:
22673
|
35373
| 35609