Closed Bug 895612 Opened 11 years ago Closed 11 years ago

Perform PotatoSearch in view rather than in search handler

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-08-01

People

(Reporter: kumar, Assigned: basta)

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
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
https://github.com/mozilla/fireplace/commit/85051abbbc255a6ad49664ff04fba1124695eee1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-08-01
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.