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

            Bug ID: 43176
           Summary: ERM Usage Import Logs should not use a LIKE search on
                    provider ID
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: ERM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected],
                    [email protected],
                    [email protected],
                    [email protected]
  Target Milestone: ---

The list of import logs seems to use a LIKE comparison rather than an exact
match. As a result, import logs from provider ID 3 also returns Import logs
associated with providers 37, 403, 131 and 318.

This is the issue (contains):

...
api/v1/erm/counter_logs?usage_data_provider_id=3&_page=1&_per_page=20&_match=contains&_order_by=-me.filename


it should be (match=exact instead of contains):

...
/api/v1/erm/counter_logs?usage_data_provider_id=3&_page=1&_per_page=20&_match=exact&_order_by=-me.filename


Please also note similar Bug 43122.

-- 
You are receiving this mail because:
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