Facet parameter needs to be maintained when sorting search results

Bug #1356153 reported by Kathy Lussier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Medium
Unassigned

Bug Description

Evergreen version: all

This issue was originally reported by Jason Stephenson in https://bugs.launchpad.net/evergreen/+bug/1028560.

When you limit your search results using a facet and then click to sort the results, you are no longer limiting by facet. For example, if I do a search for Harry Potter in the MVLC catalog, I get 409 results. If I then click on the Topic Subject facet for wizards, I get 156 results. If I then choose to sort by title, I'm back to 409 results.

Jason originally fixed this issue by adding a hidden field for the facet that would maintain the parameter while sorting. However, the fix had the unintended consequence of maintaining the facet when a new search is launched - https://bugs.launchpad.net/evergreen/+bug/1091659.

To fix that problem, we then removed the hidden field with the facet parameter, but we are still left with the original problem that sorting a search results list removes the facet parameter, which is unexpected. We need a way to maintain the parameter in sorting, but not when launching a new search.

Note that this is similar to https://bugs.launchpad.net/evergreen/+bug/1206593, where we want to maintain the depth parameter in sorting, but probably do not want to maintain it for a new search.

Tags: tpac
Revision history for this message
Kathy Lussier (klussier) wrote :

Marking this as a duplicate of https://bugs.launchpad.net/evergreen/+bug/1206593. I'll change the title there so that it covers all types of parameters, not just the depth parameter.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.