Bug 14861: Accession date comparison does not work in advanced search
authorDavid Cook <dcook@prosentient.com.au>
Tue, 6 Oct 2015 00:42:04 +0000 (11:42 +1100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Oct 2015 14:52:44 +0000 (11:52 -0300)
commit5a9b8d9359424a3f0316f89348038fbb290e722b
tree604d8bb0cf58f82b0512d56c95ad4d0d7b4fe0b1
parent87312888abfeeffcc452df38b4ed652a3c7ad0ba
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 <barton@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
etc/zebradb/ccl.properties