[Koha-bugs] [Bug 14861] Accession date comparison does not work in advanced search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 30 07:17:01 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14861

--- Comment #12 from David Cook <dcook at prosentient.com.au> ---
Sorry for all the comments!

I definitely have this working in master, when I use the following URL:

search.pl?idx=acqdate%2Cst-date-normalized&q=2011-09-01+-+2011-09-30

I didn't need to restart Zebra or re-index either to make it work. I just
change the ccl.properties file.

Here's the entry for the working query in my logs:

[Wed Sep 30 15:08:25 2015] search.pl:
QUERY:acqdate,st-date-normalized=2011-09-01 - 2011-09-30

Another reason it might not be working... are you sure that you actually have
anything indexed into acqdate? 

I suppose it must have something in it if the following URL works:

search.pl?idx=acqdate%2Cst-date-normalized&q=2011-09-07

--

Let's see... remaining guesses... perhaps you're not changing the correct
ccl.properties file.

My advice would be to do the following:

1) Check your logs to see what buildQuery is producing
2) Try your query in yaz-client (following the advice at
http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Manually_searching_with_yaz-client)

--

I assure you that this should work. I think it's just a configuration problem
on your end.

If you're using a Gitified Koha, you'll have problems, because Gitified Koha
doesn't handle Zebra changes I believe. If you're using a Gitified Koha... you
would need to change /etc/koha/zebradb/ccl.properties because it won't be using
the ccl.properties within your Git since it's not installed anywhere unless
you've changed the koha-conf.xml for that instance.

Sorry again for all the words. I don't use Gitify or Debian for Koha, so I do
things a bit differently, but the Zebra configuration works.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list