Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2188 closed New feature (fixed)

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

Reported by: matt Owned by: matt
Priority: normal Milestone: Piwik 1.2.1
Component: Core Keywords:
Cc: Sensitive: no

Description

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

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

Change History (4)

comment:1 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 3 years ago by vipsoft (robocoder)

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

comment:3 Changed 3 years ago by matt (mattab)

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

comment:4 Changed 3 years ago by matt (mattab)

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

Note: See TracTickets for help on using tickets.