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

            Bug ID: 43122
           Summary: Link from Vendor to ERM Records should not use a LIKE
                    search on Vendor ID
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

With Bug 38208, a link from the vendor details page to the related ERM records
(Agreements and Licences) was introduced.

However, the search appears to use a LIKE comparison rather than an exact
match. As a result, navigating from vendor ID 3 also returns agreements
associated with vendors 37, 403, 131 and 318.


Test plan:

Prerequisites

Ensure that there are more than 10 vendors in the system.
Create at least two agreements:
one linked to vendor ID 1
one linked to vendor ID 10

Steps to Reproduce

Go to vendor ID 1:
cgi-bin/koha/acquisition/vendors/1
Click ERM Agreements in the left-hand menu.

Actual Result

Both agreements are displayed in the results list.

Expected Result

Only the agreement linked to vendor ID 1 should be displayed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to