collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
295 stars 167 forks source link

Collection hierarchies on the Summary Screen: typo and clarification of value for settings #1517

Open mbutel opened 11 months ago

mbutel commented 11 months ago

I'm trying to customize the collection content that show up in collection summary pages. I'm trying to hide the objects first. I would like to show them only if they directly under the current collection.

With the following settings unmodified:

# -----------------------------------
#  Collection hierarchies on the Summary screen 
# -----------------------------------
#
# The summary screen includes a visual hierarchy by default for hierarchical collections. 
# Use these directives to set the sort value for the hierarchical display, as well as the display
# template used for format data. If nothing is set below the system will default to the settings
# outlined in ca_collections_hierarchy_browser_sort_values.
#                                                   
ca_collections_hierarchy_summary_display_settings =
ca_collections_hierarchy_summary_sort_values =
ca_objects_hierarchy_summary_display_settings =
ca_collections_hierarchy_summary_show_full_object_hierarachy = 0

this if what it displays: collections and then all the objects.

image

While trying to tamper with the settings in app.conf, I found this possible typo on line 393:

ca_collections_hierarchy_summary_show_full_object_hierarachy = 0 It says "hierarachy". If corrected, this is displayed: the indentation of objects dissapear.

image

In any case, is there a way to know which values are accept by this settings? Is there a way to simple hide the objects in the summary? Thanks!