[Koha-bugs] [Bug 28365] (Bug 19873 follow-up) Make it possible to search on value 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 17 16:23:42 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28365

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 121054
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121054&action=edit
Bug 28365: Add unit test

Run prove t/db_dependent/Search.t

Without fix you get error :
    #   Failed test 'buildQuery should keep 0 value in query_cgi'
    #   at t/db_dependent/Search.t line 670.
    #          got: 'idx=su%2Cphr'
    #     expected: 'idx=su%2Cphr&q=0'

This patch also adds a test for query_desc in case it is broken in the
future.

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


More information about the Koha-bugs mailing list