Closed Bug 737286 Opened 10 years ago Closed 10 years ago

If category ID is invalid, load /search listing all apps

Categories

(addons.mozilla.org Graveyard :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: cvan)

References

()

Details

Attachments

(1 file)

Attached image screenshot
steps to reproduce:
1. Load  https://marketplace-dev.allizom.org/en-US/search/?cat=1571 where cat=1571 doesn't exist

expected behavior:
https://marketplace-dev.allizom.org/en-US/search/ loads listing all the apps

observed behavior:
https://marketplace-dev.allizom.org/en-US/search/ loads with no search results. See screenshot.
https://github.com/mozilla/zamboni/commit/bb47ea8
Assignee: nobody → thepotch
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 6.4.7
verified fixed at https://marketplace-dev.allizom.org/en-US/search/?cat=15719879879
Status: RESOLVED → VERIFIED
I am keeping this open until we redirect to /search when one of the filters is invalid.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee: thepotch → cvan
(In reply to krupa raj 82[:krupa] from comment #3)
> I am keeping this open until we redirect to /search when one of the filters
> is invalid.

What if we have a mix of valid and invalid filters (e.g., /search?q=steam&price=paid&cat=999) where do we redirect to?
If a sort option is invalid, let us ignore that sort option.
Target Milestone: 6.4.7 → 6.4.8
https://github.com/mozilla/zamboni/commit/cab318d
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
verified fixed at https://marketplace-dev.allizom.org/en-US/search/?device=mobile&price=free&cat=1550
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.