We're updating the issue view to help you get more done. 

Add ability to filter child records in search/browse results

Description

Should add option to let user hide child records and display only records that are at the top of their hierarchy. For cataloguing systems where child objects (for example) are just instantiations or record-keeping elements of a primary object this would de-clutter search/browse results considerably.

Environment

None

Activity

Show:
User known
May 1, 2017, 10:29 AM

Implemented in GitHub/develop. Added two new options in app.conf:

ca_objects_children_display_mode_in_results takes one of the following values:

show = show all results by default; allow user to filter children if they wish
hide = hide all child records (those that are not at the top of their hierarchy) by default; allow user to remove filtering if desired
alwaysShow = show all results; do not allow filtering
alwaysHide = hide all child records; do not allow the user to disable filtering

When the user is given a choice (via the "show" or "hide" setting) the filtering control is in the results "display options" panel.

The second new option is ca_objects_results_thumbnail_caption_template, which lets you set a display template for captions on thumbnail results. Previously, the caption format was hardcoded. We can use this option to set a template for Haring that indicates how many children each hit has.

Fixed

Assignee

User known

Reporter

Sophie Byerley

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure