From 257950686466e169dacbd0e6e93db8b0e16005a2 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 6 Oct 2015 11:42:04 +1100 Subject: [PATCH] Bug 14861: Accession date comparison does not work in advanced search _Test plan_ Prerequisites: Make sure that you have an item with a valid dateaccessioned, and that the bib is indexed in zebra. For the purposes of explanation, I'm going to use the date '2011-09-07' 1) Go to advanced search in the staff client and choose 'Acquisition date (yyyy-mm-dd)' 2) Enter 2011-09-07 (or the date of your choice). 3) Click the search button - you should get your item in the search results. 4) Return to the advanced search screen and select Acquisition date again. 5) Enter a start and end date in the text field separated by ' - '. For example: 2011-09-01 - 2011-09-30 6) Click the search button -- this will return no results. 7) Apply the patch and copy etc/zebradb/ccl.properties to whatever directory is specified by the koha-conf.xml referenced by $KOHA_CONF. 8) Try the search again -- this will return the expected results Signed-off-by: Barton Chittenden Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 5a9b8d9359424a3f0316f89348038fbb290e722b) Signed-off-by: Chris Cormack --- etc/zebradb/ccl.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 99e3498e4b..c2d8fd83d7 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -915,7 +915,7 @@ phr st-phrase st-word 4=2 st-key 4=3 st-year 4=4 -st-date-normalized 4=5 +st-date-normalized 4=5 r=o st-word-list 4=6 wrdl st-word-list #st-word -- 2.39.5