Bug 39072 - Item search shareable link adding selections for similar LOC auth values
Summary: Item search shareable link adding selections for similar LOC auth values
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Lisette Scheer
QA Contact: Testopia
URL:
Keywords:
Depends on: 14322
Blocks:
  Show dependency treegraph
 
Reported: 2025-02-09 22:24 UTC by Heather Rommens
Modified: 2025-04-17 15:01 UTC (History)
5 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heather Rommens 2025-02-09 22:24:51 UTC
When executing an Item Search and copying the shareable link, the Item Search results for the shared link differ from the original results. Specifically, if a LOC authorized value is similar to another authorized value (ex: ADULT with description Adult and ADULTG with description Adult - Grab and Go), if an Item Search is executed for the ADULTG LOC, the shareable link somehow includes the ADULT LOC, causing the results to differ radically from the initial search.

To Test:
- Create LOC authorized values of ADULT with description "Adult" and ADULTG with description "Adult - Grab and Go"
- Create an Item Search using the ADULTG LOC value
- Click Copy shareable link and paste/go in new tab
- See that the results of the copied link's Item Search differ widely from the original results
- Click Edit search button and notice that the LOC authorized value of ADULT was added to the selected criteria for the search
Comment 1 Heather Rommens 2025-02-09 22:29:28 UTC
Adding a comment to mention that this issue appears to be very similar to the bug reported in Comment 18 on Bug 14322 - Add option to create a shareable link for item searches.
Comment 2 Sarah Cornell 2025-04-17 15:01:01 UTC
We're having the same problem with this feature.  

The link to a search for for PYBWF will return items with PYBWF and those with location PY.

The link to a search for PYMG will return items with location codes PYMG, PYM, and PY.

All of our location codes are built on this structure so the link feature won't be useful to us until the search is exact.