Bug 42078

Summary: Allow vendor ID searches on serial subscription vendor search page
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: SerialsAssignee: Laura Escamilla <Laura.escamilla>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 42078: Allow vendor ID searches on serial subscription vendor search page
Bug 42078: Allow vendor ID searches on serial subscription vendor search page

Description Laura Escamilla 2026-03-12 16:02:41 UTC
Currently the serial subscription vendor search (serials/acqui-search-result.pl) only searches vendors by name using a LIKE query. This enhancement updates the search logic so the input field may also match a vendor ID. If the entered value matches an ID, the corresponding vendor will be returned in the results. This improves usability for staff who know the vendor ID and want to quickly locate a vendor without needing to search by name
Comment 1 Laura Escamilla 2026-03-12 16:05:55 UTC
Created attachment 195193 [details] [review]
Bug 42078: Allow vendor ID searches on serial subscription vendor search page

The serials vendor search currently only searches vendors by name.
This patch allows the search field to also match vendor IDs so
staff can locate vendors using either name or ID.

Test plan:
1. Go to Serials → New subscription.
2. Click to search for a vendor.
3. Search using part of a vendor name and confirm results appear.
4. Search using an exact vendor ID and confirm the correct vendor is returned.
5. Sign off and have a wonderful day! :D
Comment 2 ByWater Sandboxes 2026-03-13 21:18:16 UTC
Created attachment 195352 [details] [review]
Bug 42078: Allow vendor ID searches on serial subscription vendor search page

The serials vendor search currently only searches vendors by name.
This patch allows the search field to also match vendor IDs so
staff can locate vendors using either name or ID.

Test plan:
1. Go to Serials → New subscription.
2. Click to search for a vendor.
3. Search using part of a vendor name and confirm results appear.
4. Search using an exact vendor ID and confirm the correct vendor is returned.
5. Sign off and have a wonderful day! :D

Signed-off-by: Angela Berrett <angela.berrett@familysearch.org>