Summary: | "Starts With" function when searching for patrons by address is broken | ||
---|---|---|---|
Product: | Koha | Reporter: | Laura Escamilla <Laura.escamilla> |
Component: | Searching | Assignee: | Laura Escamilla <Laura.escamilla> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | andrew, george, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Laura Escamilla
2023-03-23 11:54:47 UTC
(In reply to Laura Escamilla from comment #0) > When searching for a patron by their address, the "Starts with" function > yields no results. Searching for patrons with an address while using the "Standard" search field also yields no results with both the "Starts with" and "Contains" function. The search we currently form is: "extended_attributes.value": { "like": "%" + pattern + (search_type == "contain" ? "%" : "" )}, Which defaults to an 'ends with' search |