Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## version 7.2.0-SNAPSHOT
*Released*: TBD
*
* Add array filter types

## version 7.1.1
*Released*: 10 February 2026
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ repositories {

group = "org.labkey.api"

version = "7.2.0-SNAPSHOT"
version = "7.2.0-ArrayFilterType-SNAPSHOT"

dependencies {
api "org.json:json:${jsonObjectVersion}"
Expand Down
9 changes: 9 additions & 0 deletions src/org/labkey/remoteapi/query/Filter.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ public enum Operator
// These operators require a data value
//

ARRAY_CONTAINS_ALL("Contains All", "arraycontainsall", "ARRAY_CONTAINS_ALL", true),
ARRAY_CONTAINS_ANY("Contains Any", "arraycontainsany", "ARRAY_CONTAINS_ANY", true),
ARRAY_CONTAINS_EXACT("Contains Exactly", "arraymatches", "ARRAY_CONTAINS_EXACT", true),
ARRAY_CONTAINS_NOT_EXACT("Does Not Contain Exactly", "arraynotmatches", "ARRAY_CONTAINS_NOT_EXACT", true),
ARRAY_CONTAINS_NONE("Contains None", "arraycontainsnone", "ARRAY_CONTAINS_NONE", true),

EQUAL("Equals", "eq", "EQUAL", true),
DATE_EQUAL("Equals", "dateeq", "DATE_EQUAL", true),

Expand Down Expand Up @@ -80,6 +86,9 @@ public enum Operator
// These are the "no data value" operators
//

ARRAY_ISEMPTY("Is Empty", "arrayisempty", "ARRAY_ISEMPTY", false),
ARRAY_ISNOTEMPTY("Is Not Empty", "arrayisnotempty", "ARRAY_ISNOTEMPTY", false),

ISBLANK("Is Blank", "isblank", "MISSING", false),
NONBLANK("Is Not Blank", "isnonblank", "NOT_MISSING", false),

Expand Down