@tsteur opened this Issue on July 30th 2014 Owner

See for instance http://demo.piwik.org/?module=API&method=SegmentEditor.getAll&idSite=7&format=JSON&token_auth=anonymous&filter_limit=1&showColumns=name,definition

Parameters are simply ignored. ResponseBuilder is supposed to convert a returned array to a DataTable so those filters apply but it doesn't.

This is important for piwik/piwik-mobile-2#3243

@tsteur commented on August 7th 2014 Owner

showColumns and hideColumns filter work now for indexed arrays that have associative arrays

For example

array(array('nb_visits' => 1, 'nb_hits' => 2), array('nb_visits' => 2, 'nb_hits' => 4))
@mattab commented on August 7th 2014 Owner

:+1:

This Issue was closed on August 7th 2014
Powered by GitHub Issue Mirror