From 7f97b7b435f8f01a14132c7b0668fd5b20d6491b Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko1 Date: Fri, 3 Nov 2023 15:52:20 +0200 Subject: [PATCH] UIIN-2647: Add brackets to query --- src/ViewInstance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 1c471f9f0..4ced3f855 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -529,7 +529,7 @@ class ViewInstance extends React.Component { this.props.mutator.authorities.GET({ params: { - query: `id==${authorityIds}`, + query: `id==(${authorityIds})`, } }).then(({ authorities }) => { const localAuthorities = authorities.filter(authority => !authority.source.startsWith(CONSORTIUM_PREFIX));