Using Checkbox Filter in GI for an API Call Always Returning True

30 Views Asked by At

I'm trying to use a checkbox as a filter for a GI, but every time I make the API request, the checkbox always returns as true, even if I default the checkbox to false.

Here is the GI setup for the filter:

enter image description here

As you can see, I have 3 check boxes. Despite the settings displayed, all 3 return true, even if not given a value:

enter image description here

enter image description here

enter image description here

As you can see, I did not include any values for the bools, so expected behavior should be ShowOpenHold and Test2 as false and Test only as true. Despite this, all three filter parameters are true. Is this a known issue, or is there something special I need to add so that it does not default to true all the time?

1

There are 1 best solutions below

1
Dmitrii Naumov On

In GIs you should always explicitly set the filter values in the body of the PUT request. Otherwise the behavior is not defined.