[Koha-bugs] [Bug 14861] New: Date comparison does not work in advanced search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 19 00:03:25 CEST 2015


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

            Bug ID: 14861
           Summary: Date comparison does not work in advanced search
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: gmcharlt at gmail.com
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

According to the documentation here:

http://manual.koha-community.org/3.18/en/searchguide.html#searchguide-syntax

A CCL search may be constructed as follows:

(paraphrasing)

  Index(,search type)=Search String

The documentation uses the following as a date search:

  yr,st-numeric=>2000

Following the same pattern, I used the following to search for a normalize
date:

  acqdate,st-date-normalized=>2015-08-01

This returned

  Results of search for 'acqdate,st-date-normalized: >2015-08-01'
  No results found!



To re-create:

Add an item with the acquisition date set to 2015-08-01 (and let the fast
indexer pick it up).

Put the string

  acqdate,st-date-normalized=>2015-08-01

In the 'search the catalog' search box and run the serch. You will see

  Results of search for 'acqdate,st-date-normalized: >2015-08-01'
  No results found!

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


More information about the Koha-bugs mailing list