Perform PotatoSearch in view rather than in search handler

VERIFIED FIXED in 2013-08-01

Status

Marketplace
Consumer Pages
P5
normal
VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: kumar, Assigned: basta)

Tracking

2013-08-01
x86
Mac OS X
Points:
---

Details

This probably doesn't happen every time but here's what I did:
- search :paid
- start app purchase, cancel
- tap another app to purchase (it misfires and takes me to the details page)
- press the back button

Expected: I should return to the :paid search
Actual: I was sent to the home page with all apps

ashes: 42e72
This happens only with PotatoSearch (quicksearch).
Summary: Back button does not return to search results → Back button does not return to search results with PotatoSearch
(Assignee)

Comment 2

5 years ago
It's not that you got sent home, it's that the potatosearch queries don't get saved in the navigation stack (they're done when the search is submitted rather than when the view is rendered). You end up seeing the result of an empty search (the same as the homepage, minus the featured apps).

Updating summary. Should be a relatively easy fix.
Summary: Back button does not return to search results with PotatoSearch → Perform PotatoSearch in view rather than in search handler
Priority: -- → P5
(Assignee)

Comment 3

5 years ago
https://github.com/mozilla/fireplace/commit/85051abbbc255a6ad49664ff04fba1124695eee1
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-08-01

Comment 4

5 years ago
Verified as fixed . After pressing back button, the results of PotatoSearch were displayed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.