Skip to content

Loading…

Segmentation in API to support greater/less than (or equal) as well as "contains" operators #2188

Closed
mattab opened this Issue · 4 comments

2 participants

@mattab
Piwik Open Source Analytics member

Currently only supports == and !=, should add these few in

http://piwik.org/docs/analytics-api/segmentation/

@mattab
Piwik Open Source Analytics member

(In [4090]) Fixes #2188 adding < <= >= > !@ (does not contain) =@ (contains) operators, will update doc now

@robocoder

For LIKE and NOT LIKE, % and _ in the $value should be escaped.

@mattab
Piwik Open Source Analytics member

(In [4107]) Refs #2188 Escaping special LIKe characters - thanks for the code review!

@mattab
Piwik Open Source Analytics member

(In [4117]) Refs #2188 forgot to check in tests

@mattab mattab added this to the Piwik 1.2.1 milestone
@mattab mattab self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.