Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 685bd21

Browse files
Find exact match of attribute group names
1 parent 896b9e4 commit 685bd21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/attributeGroup/service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const methods = helper.getServiceMethods(
2323
const dbQueries = []
2424
// filter by provider name
2525
if (query.name) {
26-
dbQueries.push(`name like '%${query.name}%'`)
26+
dbQueries.push(`name = '${query.name}'`)
2727
}
2828
if (query.organizationId) {
2929
dbQueries.push(`organizationId = '${query.organizationId}'`)

0 commit comments

Comments
 (0)