Closed Bug 1204135 Opened 11 years ago Closed 10 years ago

When searching for add-ons or apps, API request has doc_type=webapp which finds no results

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

x86
Gonk (Firefox OS)

Tracking

(feature-b2g:2.5+)

VERIFIED FIXED
feature-b2g 2.5+

People

(Reporter: krupa.mozbugs, Unassigned)

References

()

Details

steps to reproduce: 1. From :debug, enable Firefox OS Add-ons 2. Categories-> Personalization-> Add-ons expected behavior: Public add-ons are found https://marketplace-dev.allizom.org/addons actual behavior: API returns no results while searching for apps or add-ons since all api requests are getting sent with doc_type=webapp https://marketplace-dev.allizom.org/api/v2/extensions/search/?_user=---&doc_type=webapp&lang=en-US&limit=10&region=us
Blocks: 1197042
I don't think that's the reason. `doc_type` is ignored for this endpoint. Clicking on your API link I do see some content in there, so it must be another problem on the consumer pages side.
This looks like the same issue we had with /games stemming from the /debug setting toggle.
Blocks: 1195470
No longer blocks: 1197042
Do we need doc_type? Or is it just needless work to remove it?
Priority: -- → P2
mass-flag feature-b2g
feature-b2g: --- → 2.5+
We need doc_type because we don't want to include add-ons for older FxOS devices. We could simplify it though, and remove the websites toggle.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified as fixed on MP-dev FF OS 2.5 - http://screencast.com/t/RZe2Op6t7yqb Verified as fixed on MP-dev FF45(Win 7) - http://screencast.com/t/pagzXN6J API request returns results: http://screencast.com/t/bOWNmWl2P Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.