Solved

Unique values in AttributeFilter end up as one value.

  • 9 December 2022
  • 2 replies
  • 2 views

Badge +1

We have a unique number 0 and 00 to identify paying customer.

I set (0 and 00) in the AttributeFilter but both values end up on either 0 or 00 depending on wich one in the list comes first.

What am i missing here? or should i set up a tester instead for each number or text value?

 

/Tim

icon

Best answer by david_r 9 December 2022, 13:37

View original

2 replies

Userlevel 4

I'm suspecting that the AttributeFilter is using some sort of 'intelligence' to decide whether to make the comparison as string or as an integer. In this case it seems like it's doing an integer comparison: 0 == 00.

If you switch to using the TestFilter, you can force the use of a string comparison: 0 != 00

For example:

image

Badge +1

Okey, well this seems to work, thank you so much :).

 

2022-12-09_13-43-30

Reply