Skip to content

Commit

Permalink
fix: group conditions around and operator
Browse files Browse the repository at this point in the history
  • Loading branch information
lme-axelor committed Dec 19, 2024
1 parent dc1885e commit bd55621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/apiProviders/Standard/requests.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class RequestBuilder {

if (domain != null && domain !== '') {
if (data._domain != null) {
data._domain += ` AND ${domain}`;
data._domain = `(${data._domain}) AND (${domain})`;
data._domainContext = {
...data._domainContext,
...domainContext,
Expand Down

0 comments on commit bd55621

Please sign in to comment.