Closed Bug 617177 Opened 14 years ago Closed 11 years ago

Filter type (happy/sad) doesn't persist when paginating through Themes

Categories

(Input :: General, defect, P2)

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: stephend, Unassigned)

References

()

Details

This is in prod, as well, but it'd be nice if we could get a fix in time for the freeze/shortly after.

STR:

1. Load http://input.stage.mozilla.com/en-US/themes/?s=sad
2. Click on "Older Messages"

Actual Results:

http://input.stage.mozilla.com/en-US/themes/?page=2 loads (without the s=sad param/value)

Expected Results:

http://input.stage.mozilla.com/en-US/themes/?s=sad&page=2
Flags: in-testsuite?
Flags: in-litmus?
This is the same for any filter in Themes. The filters are not being persisted when changing the page of results.

Interestingly, the page number is persisted when applying a filter, which probably shouldn't be the case. I've raised this as bug 617508.
Added testcase in litmus 15018
Flags: in-litmus? → in-litmus+
Added automated test with assertions commented out until this issue has been fixed. See https://github.com/mozilla/input-tests/pull/7
Priority: -- → P2
Target Milestone: --- → 3.3
Assignee: nobody → ryan
The themes page uses the pager helper in input.helpers. That helper does not preserve URL parameters. We could make it just spit out the existing GET parameters along with the new page -- keep in mind that that can be arbitrary user data, but checking against a parameter whitelist would make the solution quite a bit more complicated.
Target Milestone: 3.3 → 3.4
Target Milestone: 3.4 → 4.0
Assignee: ryansnyder.me+bugs → nobody
Assignee: nobody → dd
Moving theme related stuff to FUTURE, the expectation is that michaelk will work on his end as time permits, and that it'll be a priority on my plate - but I don't want to move it into a milestone, because it's being blocked by michaelk who is busy with BZETL.  Once his portion is complete, I'll move the remaining bugs into a milestone.
Target Milestone: 4.0 → Future
Component: Input → General
Product: Webtools → Input
Assignee: dd → nobody
New Input doesn't have themes, so this isn't relevant anymore.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.