Opened 2 years ago

Closed 2 years ago

#2939 closed Bug (fixed)

Metadata - "Actions - Main metrics" - value is false instead of 0

Reported by: tsteur Owned by:
Priority: normal Milestone: 1.7.x - Piwik 1.7.1
Component: Core Keywords:
Cc: Sensitive: no

Description

Hi,

not sure whether it's a bug. When requesting "Actions - Main metrics" via metadata api, some values are "false" instead of 0?

See http://demo.piwik.org/index.php?idSite=3&date=2012-2-15&filter_sort_column=nb_pageviews&apiModule=Actions&apiAction=get&period=day&filter_limit=30&module=API&token_auth=anonymous&format=json&method=API.getProcessedReport&language=en

which contains the following result:

"reportData":{"nb_pageviews":"118","nb_uniq_pageviews":"101","nb_downloads":false,"nb_uniq_downloads":false,"nb_outlinks":false,"nb_uniq_outlinks":false}

Change History (2)

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

Definitely a bug! thanks for the report

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

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

(In [5904]) Fixes #2939

Note: See TracTickets for help on using tickets.