Bug #5729

clearing institutional facet from filtered browse results in empty result set

Added by Tim Hutchinson over 8 years ago. Updated over 8 years ago.

Status:VerifiedStart date:10/01/2013
Priority:MediumDue date:
Assignee:Jesús García Crespo% Done:

100%

Category:Search / Browse
Target version:Release 2.0.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

To reproduce:
- browse by archival descriptions
- choose an institutional facet
- clear the facet by clicking on the "x" below the number of results
Result:
- no results found

If you start with a keyword search rather than a browse, this works correctly.

History

#1 Updated by Dan Gillean over 8 years ago

  • Category set to Search / Browse
  • Assignee set to Jesús García Crespo
  • Priority changed from Medium to High
  • Target version set to Release 2.0.0

Confirmed in 2x dev site - note that if you select "All" again in the facet, it works as well - the problem is the orange filter tag at the top of the results. When it is removed, all search results disappear.

#2 Updated by Tim Hutchinson over 8 years ago

The parameters do seem to be retained - for example try faceting by place and level of description as well as institution, then removing the institutional facet. The URL is e.g.:
http://atom/index.php/search?places=45933&levels=184&languages=en&limit=10
when it should be
http://atom/index.php/informationobject/browse?places=45933&levels=184&languages=en&limit=10

So the feature assumes that you're starting with a general search.

#3 Updated by Jesús García Crespo over 8 years ago

  • Priority changed from High to Medium

HIGH??????? :P

#4 Updated by Tim Hutchinson over 8 years ago

Thinking more about this feature, I got to wondering why there is a separate block to remove an institutional facet, but not the other facets.

With hoped for improvements in facets generally as well as upcoming work on the institutional filter (#3897), would hiding this filter tag for now rather than fixing it make sense? Was this added based on a specific requirement or something?

#5 Updated by José Raddaoui Marín over 8 years ago

  • Status changed from New to QA/Review
  • % Done changed from 0 to 100

Applied in changeset atom|commit:037d1819063addc7345430b75eea5e09623c6300.

#6 Updated by Dan Gillean over 8 years ago

  • Status changed from QA/Review to Verified

It wasn't added based on a specific requirement, but since it's been fixed, I think we should leave it in - might be interesting to see what users think as more people test AtoM 2.0. It could be possible in the future to create a sort of "your filters" area at the top of the results that would show all filters with these kind of tags, giving users a better visual cue as to what filters have been applied than just the facet headings - but it might also not be necessary. I find it nice when arriving on this page from an institution (similarly, with the "browse all descriptions" link that appears after a quick search in the treeview), but if other users find it unecessary/excessive, we can always consider removing it. Consider it a potential feature preview for now ;)

#7 Updated by Tim Hutchinson over 8 years ago

Yes, I wasn't sure how complicated it would be.

I also had forgotten that the same element comes into play for the limit to digital objects.

Also available in: Atom PDF