Closed kumar303 closed 5 years ago
Fetch a collection:
curl 'https://addons-dev.allizom.org/api/v4/accounts/account/mozilla/collections/smarter-shopping/?lang=en-US&wrap_outgoing_links=true' | jq .
Fetch collection add-ons:
curl 'https://addons-dev.allizom.org/api/v4/accounts/account/mozilla/collections/smarter-shopping/addons/?page=1&sort=-added&lang=en-US&wrap_outgoing_links=true' | jq .
When fetching the collection, addon_count is 5. When fetching results, the count is 2 (and it only returns two results).
addon_count
count
The counts should match.
(Please include a link to the page, screenshots and any relevant files.)
See https://github.com/mozilla/addons/issues/12555
This is a duplicate of mozilla/addons#5442 ; we know the cause, it's probably https://github.com/mozilla/addons/issues/4882, but haven't found what's causing it yet. Closing as dupe of mozilla/addons#5442.
Describe the problem and steps to reproduce it:
Fetch a collection:
Fetch collection add-ons:
What happened?
When fetching the collection,
addon_count
is 5. When fetching results, thecount
is 2 (and it only returns two results).What did you expect to happen?
The counts should match.
Anything else we should know?
(Please include a link to the page, screenshots and any relevant files.)
See https://github.com/mozilla/addons/issues/12555