[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:08:02 CEST 2015


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Barton Chittenden from comment #8)
> I just checked the virtual machine that I have this running on -- it *is*
> running on master -- version 3.21.00.028.
> 
> I've only made a single change against that:
> 
> diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
> index 93ae8ec..fdd8eec 100644
> --- a/etc/zebradb/ccl.properties
> +++ b/etc/zebradb/ccl.properties
> @@ -344,6 +344,7 @@ pubdate Date-of-publication
>  #Date-acquisition       32  The date when a document was    541$d
>  #                           acquired.
>  Date-of-acquisition 1=32
> +Date-of-acquisition 1=Date-of-acquisition r=o
>  acqdate Date-of-acquisition
>  
>  #Date/time added to   1011  The date and time that a        008/00-05

Looking at this again... that doesn't look right.

You're defining the "Date-of-acquisition" alias twice.

It should be:

Date-of-acquisition 1=Date-of-acquisition r=o
acqdate Date-of-acquisition

Not:

Date-of-acquisition 1=32
Date-of-acquisition 1=Date-of-acquisition r=o
acqdate Date-of-acquisition

That said, I just did a test and it seems like it doesn't matter... it appears
that the second alias definition overrides the first.

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


More information about the Koha-bugs mailing list