[Koha-bugs] [Bug 10835] Patron search for using "contains" search type fails with only one search term

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 7 20:16:00 CEST 2013


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20840|0                           |1
        is obsolete|                            |

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 20854
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20854&action=edit
[PASSED QA] Bug 10835 - Patron search for using "contains" search type fails
with only one search term

The patron search type option "contains" works fine for multiple
strings, but returns no results for a single string search. For example,
the patron "Henry Acevedo" will be returned for a "contains" search
"en ev" but not for just "en" or "ev".

Test Plan:
1) Create 2 patrons named "Test One" and "Test Two"
2) Run a "contains" search for the term "est"
3) Note no results were found
4) Apply this patch
5) Repeat step 2
6) Note the patrons now display in the search results.

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
All tests and QA script pass.
Also checked that 'starts with' still works as expected -
searching for ev will only return "Eva Dillon" from the
example patrons in this case.

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


More information about the Koha-bugs mailing list