Closed Bug 1179841 Opened 9 years ago Closed 9 years ago

mobile_url is not returned on the search endpoint

Categories

(Marketplace Graveyard :: API, defect, P2)

Avenir
defect

Tracking

(Not tracked)

VERIFIED FIXED
2015-07-07

People

(Reporter: mstriemer, Assigned: mat)

References

Details

The multi-search endpoint is always returning `null` for the `mobile_url` field even when a `mobile_url` is set on a website. The website detail endpoint works as expected.
Blocks: 1158165
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 2015-07-07
Fixed in https://github.com/mozilla/zamboni/commit/26965f5807ce8d9b33d27527b4c13584fefefa06
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
STR:
On mobile,
- Search for a website that has a mobile URL and a regular URL. You can check that with the lookup tool, for instance at the moment on -dev, Engadget has both: https://marketplace-dev.allizom.org/lookup/website/8618/summary
- *Search* for that website in consumer pages on mobile, and check that when clicking the button to open the website you are directed to the mobile URL
- Copy the url to the detail page, then go to :debug, clear all caches, then paste the URL back, and verify that once on the detail page the button to open the website still redirects you to the mobile URL

On dekstop,
- Go directly to the detail page you visited above on mobile (you can't search for websites on desktop) and make sure clicking the button to open the website redirects you to the regular, non-mobile URL.
Verified as fixed based on comment #2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.