total_count in meta information from json api is wrong

Bug #1214133 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Errors
New
Medium
Unassigned

Bug Description

I'm not sure what creates the meta section of the json response but the total_count does not return a quantity of objects which is what I (and Kees) expected.

https://errors.ubuntu.com/api/1.0/most-common-problems/?format=json&version=4.8.3-1ubuntu3.1&package=xfce4-settings&period=month&limit=10

Has a total_count of 0 but there is 1.

https://errors.ubuntu.com/api/1.0/package-version-new-buckets/?format=json&package=apport&previous_version=2.9.2-0ubuntu8.1&new_version=2.9.2-0ubuntu8.3

Total count of 0 but there are 2.

Changed in errors:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.