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: jonathan.druart@gmail.com Reporter: michaela.sieber@kit.edu QA Contact: testopia@bugs.koha-community.org CC: jonathan.druart@gmail.com, jonathan.field@openfifth.co.uk, martin.renvoize@openfifth.co.uk, matt.blenkinsop@openfifth.co.uk, pedro.amorim@openfifth.co.uk 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.