[Bug 11564] New: Sorting any search on a date column fails!
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11564 Bug ID: 11564 Summary: Sorting any search on a date column fails! Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org It appears that any attempt to sort a search on a date column fails. The two date columns that can be searched on are publication date and acquisition date. Video: http://screencast.com/t/yaRfaqA7mW2r I've also reproduced this on master. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11564 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Kyle, might be good to check - does it behave the same with and without QueryParser? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11564 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=12742 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11564 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P3 CC| |veron@veron.ch Severity|normal |major --- Comment #2 from Marc Véron <veron@veron.ch> --- I could reproduce the problem in advanced (advanced search ind staff client) with 3.16.02 and with current master. The Bug occurs not only with sorting after dates. I had it. e.g. after serching for publication year 2013 and sorting after Author. Set to P3 major because parts of search functionality is broken. During the tests, I had following URLs: 1) Staff client, advanced search, search for publication year 2013 /cgi-bin/koha/catalogue/search.pl?idx=yr&q=2013&idx=kw&idx=kw&sort_by=relevance 2) Sort result by publication year results in following URL /cgi-bin/koha/catalogue/search.pl?idx=yr%252Cst-numeric&q=2013&sort_by=pubdate_dsc Result: Empty 3) I changed the URL to: /cgi-bin/koha/catalogue/search.pl?idx=yr&idx=st-numeric&q=2013&sort_by=pubdate_dsc Result: List displays as expected. The part %252C seems to be the result of some double-encoding, could be %252c = %2C = a comma (,) (following http://stackoverflow.com/questions/8348197 ) Replacing %252c with a comma resulted in an empty list. I then repaced it with &idx= and had the expected result. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org