Feature #5966

Add "Top-level descriptions" filter to "Level of description" facet and make default for Browse > Archival descriptions page.

Added by Dan Gillean over 8 years ago. Updated over 7 years ago.

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


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


In 1.x the browse results by default showed only top-level descriptions. This behavior changed in 2.x due to different indexing practices - but the inclusion of facets allows for filters to be applied that can replicate this behavior.

This feature would address the differences between 1.x and 2.0.0's default behavior, while preserving the ability to browse all levels of description for power users interested in making use of this ability. It arose from conversations in the user forum, here: https://groups.google.com/d/msg/ica-atom-users/85QNEPk-jhA/rsKezozNWSIJ

A filter would be added to the Levels of description facet, entitled "Top-level descriptions". This should be any top-level description, regardless of level (fonds, collection, series, even item if it has no parent). In the user forum, Radda posted a quick fix that would produce similar results:

$this->queryBool->addMust(new \Elastica\Query\Term(array('parentId' => QubitInformationObject::ROOT_ID)));

The filter should be set as on by default for Browse > Archival descriptions. Search results should continue to return all levels - though the filter should be available in search if a user wishes to apply it to limit the returned results to top-level descriptions only.

Related issues

Related to Access to Memory (AtoM) - Bug #5965: discrepancy between "browse xx holdings" link and actual ... New 11/13/2013


#1 Updated by Dan Gillean over 8 years ago

Ultimately, if we are going to implement this as a new feature in 2.1, it should be configurable. Ideally we would add an option to the admin menu that would allow an administrator to determine if they want results to default to displaying top-level descriptions, or just show all levels as is does currently.

#2 Updated by Jesús García Crespo over 7 years ago

  • Target version changed from Release 2.1.0 to Release 2.2.0

#3 Updated by Dan Gillean over 7 years ago

  • Status changed from New to Verified

Also available in: Atom PDF