@zsoro2 opened this Issue on August 8th 2017

Hello guys,

I use this api call for get the os families, and i only need the label, but it gives back the logo as well. Any idea? It's a bug or feature?

Query:

https://demo.piwik.org/?module=API&method=DevicesDetection.getOsFamilies&idSite=7&period=day&date=today&format=JSON&token_auth=anonymous&showColumns=label&hideColumns=logo

Response:

[{"label":"Windows","logo":"plugins\/Morpheus\/icons\/dist\/os\/WIN.png"},{"label":"Mac","logo":"plugins\/Morpheus\/icons\/dist\/os\/MAC.png"},{"label":"GNU\/Linux","logo":"plugins\/Morpheus\/icons\/dist\/os\/LIN.png"},{"label":"Android","logo":"plugins\/Morpheus\/icons\/dist\/os\/AND.png"},{"label":"iOS","logo":"plugins\/Morpheus\/icons\/dist\/os\/IOS.png"}]

@mattab commented on September 18th 2017 Owner

Thanks for the report @zsoro2
This is a bug, not a feature :slightly_smiling_face:

showColumns and hideColumns should also apply to metadata columns.

@tsteur commented on September 18th 2017 Owner

If changing this behaviour I would be careful and eg check Piwik mobile etc whether it breaks anything.

Powered by GitHub Issue Mirror