# # Browse configuration # # number of seconds to keep cached browses around # set to 0 to disable caching cache_timeout = 600 # Configuration for object browse ca_objects = { facets = { title_facet = { type = label, restrict_to_types = [], preferred_labels_only = 1, group_mode = alphabetical, label_singular = _("object title"), label_plural = _("object titles") }, has_media_facet = { type = has, table = ca_object_representations, relationship_table = ca_objects_x_object_representations, restrict_to_types = [], restrict_to_relationship_types = [], #single_value = 1, group_mode = none, label_yes = _("Has media"), label_no = _("Has no media"), label_singular = _("has media"), label_plural = _("has media") }, entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_objects_x_entities, restrict_to_types = [], restrict_to_relationship_types = [], individual_group_display = 0, groupings = { label = _("Name"), type = _("Type"), relationship_types = _("Role") }, group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, place_facet = { type = authority, table = ca_places, relationship_table = ca_objects_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =  ⬅ , # Number of items to trim off the top (leave blank or set to 0 to trim nothing) remove_first_items = , # Maximum length of hierarchy to display (leave blank to return hierarchy unabridged) hierarchy_limit = 3, # can be ASC or DESC (default is DESC) hierarchy_order = DESC, label_singular = _("place"), label_plural = _("places") }, collection_facet = { type = authority, table = ca_collections, relationship_table = ca_objects_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("collection"), label_plural = _("collections") }, occurrence_facet = { type = authority, table = ca_occurrences, generate_facets_for_types = 1, relationship_table = ca_objects_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], groupings = { label = _("Name"), type = _("Type"), relationship_types = _("Role"), ca_attribute_dates_value:years = _("Years"), ca_attribute_dates_value:decades = _("Decades") }, group_mode = alphabetical, label_singular = _("occurrence"), label_plural = _("occurrences") }, storage_location_facet = { type = authority, table = ca_storage_locations, relationship_table = ca_objects_x_storage_locations, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =  ⬅ , # Number of items to trim off the top remove_first_items = 0, # Maximum length of hierarchy to display hierarchy_limit = 3, # can be ASC or DESC hierarchy_order = DESC, label_singular = _("storage location"), label_plural = _("storage locations") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_objects_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =   ⬅  , # Number of items to trim off the top (leave blank or set to 0 to trim nothing) remove_first_items = , # Maximum length of hierarchy to display (leave blank to return hierarchy unabridged) hierarchy_limit = 3, # can be ASC or DESC (default is DESC) hierarchy_order = DESC, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = none, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = none, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = none, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") }, year_facet = { type = normalizedDates, element_code = creation_date, # 'normalization' can be: days, months, years, decades, centuries normalization = years, group_mode = none, #single_value = 1950, label_singular = _("year"), label_plural = _("years") }, decade_facet = { type = normalizedDates, element_code = creation_date, # 'normalization' can be: days, months, years, decades, centuries normalization = decades, group_mode = none, label_singular = _("decade"), label_plural = _("decades") } } } # Configuration for object representation browse ca_object_representations = { facets = { title_facet = { type = label, restrict_to_types = [], preferred_labels_only = 1, group_mode = alphabetical, label_singular = _("object representation title"), label_plural = _("object representation titles") }, entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_object_representations_x_entities, restrict_to_types = [], restrict_to_relationship_types = [], individual_group_display = 0, groupings = { label = _(Name), type = _(Type), relationship_types = _("Role") }, group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, place_facet = { type = authority, table = ca_places, relationship_table = ca_object_representations_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =  ⬅ , # Number of items to trim off the top (leave blank or set to 0 to trim nothing) remove_first_items = , # Maximum length of hierarchy to display (leave blank to return hierarchy unabridged) hierarchy_limit = 3, # can be ASC or DESC (default is DESC) hierarchy_order = DESC, label_singular = _("place"), label_plural = _("places") }, collection_facet = { type = authority, table = ca_collections, relationship_table = ca_object_representations_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("collection"), label_plural = _("collections") }, occurrence_facet = { type = authority, table = ca_occurrences, generate_facets_for_types = 1, relationship_table = ca_object_representations_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], groupings = { label = _("Name"), type = _("Type"), relationship_types = _("Role"), ca_attribute_dates_value:years = _("Years"), ca_attribute_dates_value:decades = _("Decades") }, group_mode = alphabetical, label_singular = _("occurrence"), label_plural = _("occurrences") }, storage_location_facet = { type = authority, table = ca_storage_locations, relationship_table = ca_object_representations_x_storage_locations, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =  ⬅ , # Number of items to trim off the top remove_first_items = 0, # Maximum length of hierarchy to display hierarchy_limit = 3, # can be ASC or DESC hierarchy_order = DESC, label_singular = _("storage location"), label_plural = _("storage locations") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_object_representations_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = hierarchical, # Set to non-zero value to display hierarchy on items in this facet show_hierarchy = 1, # Character(s) to place between elements of the hierarchy hierarchical_delimiter =   ⬅  , # Number of items to trim off the top (leave blank or set to 0 to trim nothing) remove_first_items = , # Maximum length of hierarchy to display (leave blank to return hierarchy unabridged) hierarchy_limit = 3, # can be ASC or DESC (default is DESC) hierarchy_order = DESC, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = none, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = none, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = none, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # Configuration for object lot browse ca_object_lots = { facets = { entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_object_lots_x_entities, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, place_facet = { type = authority, table = ca_places, relationship_table = ca_object_lots_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("place"), label_plural = _("places") }, collection_facet = { type = authority, table = ca_collections, relationship_table = ca_object_lots_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("collection"), label_plural = _("collections") }, occurrence_facet = { type = authority, table = ca_occurrences, relationship_table = ca_object_lots_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, indefinite_article = an, label_singular = _("occurrence"), label_plural = _("occurrences") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_object_lots_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # -------------------------------------------------------------------- # Configuration for entity browse ca_entities = { facets = { place_facet = { type = authority, table = ca_places, relationship_table = ca_entities_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("place"), label_plural = _("places") }, occurrence_facet = { type = authority, table = ca_occurrences, relationship_table = ca_entities_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, indefinite_article = an, label_singular = _("occurrence"), label_plural = _("occurrences") }, collection_facet = { type = authority, table = ca_collections, relationship_table = ca_entities_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("collection"), label_plural = _("collections") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_entities_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # -------------------------------------------------------------------- # Configuration for collection browse ca_collections = { facets = { entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_entities_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, place_facet = { type = authority, table = ca_places, relationship_table = ca_places_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("place"), label_plural = _("places") }, occurrence_facet = { type = authority, table = ca_occurrences, relationship_table = ca_occurrences_x_collections, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, indefinite_article = an, label_singular = _("occurrence"), label_plural = _("occurrences") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_collections_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # -------------------------------------------------------------------- # Configuration for place browse ca_places = { facets = { entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_entities_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, object_facet = { type = authority, table = ca_objects, relationship_table = ca_objects_x_places, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("object"), label_plural = _("objects") }, occurrence_facet = { type = authority, table = ca_occurrences, relationship_table = ca_places_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, indefinite_article = an, label_singular = _("occurrence"), label_plural = _("occurrences") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_places_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # -------------------------------------------------------------------- # Configuration for occurrence browse ca_occurrences = { facets = { entity_facet = { # 'type' can equal authority, attribute, fieldList, normalizedDates type = authority, table = ca_entities, relationship_table = ca_entities_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, order_by_label_fields = [surname, forename, middlename], indefinite_article = an, label_singular = _("entity"), label_plural = _("entities") }, object_facet = { type = authority, table = ca_objects, relationship_table = ca_objects_x_occurrences, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("object"), label_plural = _("objects") }, term_facet = { type = authority, table = ca_list_items, relationship_table = ca_occurrences_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("term"), label_plural = _("terms") }, type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, indefinite_article = an, label_singular = _("access status"), label_plural = _("access statuses") } } } # -------------------------------------------------------------------- # Configuration for storage location browse ca_storage_locations = { facets = { type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") } } } # -------------------------------------------------------------------- # Configuration for list item browse ca_list_items = { facets = { type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, label_singular = _("access status"), label_plural = _("access statuses") }, object_facet = { type = authority, table = ca_objects, relationship_table = ca_objects_x_vocabulary_terms, restrict_to_types = [], restrict_to_relationship_types = [], group_mode = alphabetical, label_singular = _("object"), label_plural = _("objects") } } } # -------------------------------------------------------------------- # Configuration for tour browse ca_tours = { facets = { type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, label_singular = _("access"), label_plural = _("accesses") } } } # -------------------------------------------------------------------- ca_tour_stops = { facets = { type_facet = { type = fieldList, field = type_id, group_mode = alphabetical, label_singular = _("type"), label_plural = _("types") }, status_facet = { type = fieldList, field = status, group_mode = alphabetical, label_singular = _("status"), label_plural = _("statuses") }, access_facet = { type = fieldList, field = access, group_mode = alphabetical, label_singular = _("access"), label_plural = _("accesses") } } } # --------------------------------------------------------------------