Skip to content

Commit 9ee0ef4

Browse files
authored
Update Array filter multi-value delimiter to ';' to match IN/NOT IN filter types (#205)
1 parent 1327307 commit 9ee0ef4

5 files changed

Lines changed: 16 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.46.1 - 2026-02-17
2+
- Update Array filter multi-value delimiter to ';' to match IN/NOT IN filter types to allow filter type conversion
3+
14
### 1.46.0 - 2026-02-04
25
- Package updates
36

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@labkey/api",
3-
"version": "1.46.0",
3+
"version": "1.46.1",
44
"description": "JavaScript client API for LabKey Server",
55
"scripts": {
66
"build": "npm run build:dist && npm run build:docs",

src/labkey/filter/Types.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,32 +128,32 @@ export const Types: Record<string, IFilterType> = {
128128
// These operators require a data value
129129
//
130130

131-
ARRAY_CONTAINS_ALL: registerFilterType('Contains All', null, 'arraycontainsall', true, ',', 'Contains All Of'),
131+
ARRAY_CONTAINS_ALL: registerFilterType('Contains All', null, 'arraycontainsall', true, ';', 'Contains All Of'),
132132
ARRAY_CONTAINS_ANY: registerFilterType(
133133
'Contains Any',
134134
null,
135135
'arraycontainsany',
136136
true,
137-
',',
137+
';',
138138
'Contains At Least One Of'
139139
),
140140
ARRAY_CONTAINS_EXACT: registerFilterType(
141141
'Contains Exactly',
142142
null,
143143
'arraymatches',
144144
true,
145-
',',
145+
';',
146146
'Contains Exactly the Selected Values'
147147
),
148148
ARRAY_CONTAINS_NOT_EXACT: registerFilterType(
149149
'Does Not Contain Exactly',
150150
null,
151151
'arraynotmatches',
152152
true,
153-
',',
153+
';',
154154
'Does Not Contains Exactly the Selected Values'
155155
),
156-
ARRAY_CONTAINS_NONE: registerFilterType('Contains None', null, 'arraycontainsnone', true, ',', 'Contains None Of'),
156+
ARRAY_CONTAINS_NONE: registerFilterType('Contains None', null, 'arraycontainsnone', true, ';', 'Contains None Of'),
157157

158158
EQUAL,
159159
DATE_EQUAL: registerFilterType(

src/test/data/filter_types_snapshot.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"getMultiValueFilter": null,
88
"getMultiValueMaxOccurs": "undefined",
99
"getMultiValueMinOccurs": "undefined",
10-
"getMultiValueSeparator": ",",
10+
"getMultiValueSeparator": ";",
1111
"getOpposite": null,
1212
"getSingleValueFilter": "undefined",
1313
"getURLParameterValue": "undefined",
@@ -24,7 +24,7 @@
2424
"getMultiValueFilter": null,
2525
"getMultiValueMaxOccurs": "undefined",
2626
"getMultiValueMinOccurs": "undefined",
27-
"getMultiValueSeparator": ",",
27+
"getMultiValueSeparator": ";",
2828
"getOpposite": null,
2929
"getSingleValueFilter": "undefined",
3030
"getURLParameterValue": "undefined",
@@ -41,7 +41,7 @@
4141
"getMultiValueFilter": null,
4242
"getMultiValueMaxOccurs": "undefined",
4343
"getMultiValueMinOccurs": "undefined",
44-
"getMultiValueSeparator": ",",
44+
"getMultiValueSeparator": ";",
4545
"getOpposite": null,
4646
"getSingleValueFilter": "undefined",
4747
"getURLParameterValue": "undefined",
@@ -58,7 +58,7 @@
5858
"getMultiValueFilter": null,
5959
"getMultiValueMaxOccurs": "undefined",
6060
"getMultiValueMinOccurs": "undefined",
61-
"getMultiValueSeparator": ",",
61+
"getMultiValueSeparator": ";",
6262
"getOpposite": null,
6363
"getSingleValueFilter": "undefined",
6464
"getURLParameterValue": "undefined",
@@ -75,7 +75,7 @@
7575
"getMultiValueFilter": null,
7676
"getMultiValueMaxOccurs": "undefined",
7777
"getMultiValueMinOccurs": "undefined",
78-
"getMultiValueSeparator": ",",
78+
"getMultiValueSeparator": ";",
7979
"getOpposite": null,
8080
"getSingleValueFilter": "undefined",
8181
"getURLParameterValue": "undefined",

0 commit comments

Comments
 (0)