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

Marcel de Rooy <[email protected]> changed:

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

--- Comment #8 from Marcel de Rooy <[email protected]> ---
Created attachment 185876
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185876&action=edit
Bug 39072: Only select exact matches when populating search terms

This patch simply reduces our matching pattern to ensure the string is an exact
match, rather than partial

To test:
- Create LOC authorized values of ADULT with description "Adult" and ADULTG
with description "Adult - Grab and Go"
- Find a record with items and set one item to shelving location "Adult"
- Find a second record with items and set one item to shelving location "Adult
- Grab and Go"
- Create an Item Search for Shelving location and select 'Adult' only
- Search and get one result from the record selected above
- Click Copy shareable link and paste/go in new tab
- See that the results now include both records from above
- Click Edit search button and notice that the Shelving location 'Adult - Grab
and Go'  was added to the selected criteria for the search
- Apply patch
- Repeat original search for 'Adult' location
- Click 'Copy shareable link'
- Open in new tab and confirm correct results
- Repeat with a search for 'Adult - Grab and Go' and confirm shareable link
gets the correct results

Signed-off-by: Brendan Lawlor <[email protected]>

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to