From 5cf78d9692781ebcbe184d4c12e27c946a591bb6 Mon Sep 17 00:00:00 2001 From: DonRichards Date: Thu, 26 Oct 2023 14:47:41 -0400 Subject: [PATCH] corrected views --- .../context.context.audio_original_file.yml | 2 +- .../context.context.image_original_file.yml | 2 +- config/sync/context.context.pages.yml | 2 +- .../context.context.pdf_original_file.yml | 2 +- .../context.context.video_original_file.yml | 2 +- ..._display.node.islandora_object.default.yml | 38 +++- config/sync/system.file.yml | 2 +- config/sync/system.logging.yml | 2 +- config/sync/views.settings.yml | 2 +- config/sync/views.view.content.yml | 165 ++++++++++-------- 10 files changed, 138 insertions(+), 81 deletions(-) diff --git a/config/sync/context.context.audio_original_file.yml b/config/sync/context.context.audio_original_file.yml index af2252aaf..4bb3fc135 100644 --- a/config/sync/context.context.audio_original_file.yml +++ b/config/sync/context.context.audio_original_file.yml @@ -11,7 +11,7 @@ name: audio_original_file group: Derivatives description: 'Derivatives for Audio' requireAllConditions: true -disabled: false +disabled: true conditions: media_has_term: id: media_has_term diff --git a/config/sync/context.context.image_original_file.yml b/config/sync/context.context.image_original_file.yml index fba98fcf4..0d14e627b 100644 --- a/config/sync/context.context.image_original_file.yml +++ b/config/sync/context.context.image_original_file.yml @@ -11,7 +11,7 @@ name: image_original_file group: Derivatives description: 'Derivatives for Images' requireAllConditions: true -disabled: false +disabled: true conditions: media_has_term: id: media_has_term diff --git a/config/sync/context.context.pages.yml b/config/sync/context.context.pages.yml index 883cb5316..790f52a9a 100644 --- a/config/sync/context.context.pages.yml +++ b/config/sync/context.context.pages.yml @@ -11,7 +11,7 @@ name: pages group: Derivatives description: 'Derivatives for Pages' requireAllConditions: true -disabled: false +disabled: true conditions: parent_node_has_term: id: parent_node_has_term diff --git a/config/sync/context.context.pdf_original_file.yml b/config/sync/context.context.pdf_original_file.yml index afc0034a2..d2705a79c 100644 --- a/config/sync/context.context.pdf_original_file.yml +++ b/config/sync/context.context.pdf_original_file.yml @@ -11,7 +11,7 @@ name: pdf_original_file group: Derivatives description: 'Derivatives for PDF documents' requireAllConditions: true -disabled: false +disabled: true conditions: media_has_term: id: media_has_term diff --git a/config/sync/context.context.video_original_file.yml b/config/sync/context.context.video_original_file.yml index e7c740258..1243b59b6 100644 --- a/config/sync/context.context.video_original_file.yml +++ b/config/sync/context.context.video_original_file.yml @@ -11,7 +11,7 @@ name: video_original_file group: Derivatives description: 'Derivatives for Video' requireAllConditions: true -disabled: false +disabled: true conditions: media_has_term: id: media_has_term diff --git a/config/sync/core.entity_view_display.node.islandora_object.default.yml b/config/sync/core.entity_view_display.node.islandora_object.default.yml index 040f64373..5ea3776ef 100644 --- a/config/sync/core.entity_view_display.node.islandora_object.default.yml +++ b/config/sync/core.entity_view_display.node.islandora_object.default.yml @@ -321,6 +321,14 @@ content: third_party_settings: { } weight: 55 region: content + field_display_hints: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 75 + region: content field_dspace_identifier: type: link label: above @@ -579,6 +587,14 @@ content: third_party_settings: { } weight: 16 region: content + field_model: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 73 + region: content field_note: type: text_default label: above @@ -697,6 +713,15 @@ content: third_party_settings: { } weight: 69 region: content + field_weight: + type: number_integer + label: hidden + settings: + thousand_separator: '' + prefix_suffix: true + third_party_settings: { } + weight: 74 + region: content field_years: type: edtf_default label: above @@ -709,6 +734,15 @@ content: third_party_settings: { } weight: 70 region: content + langcode: + type: language + label: hidden + settings: + link_to_entity: false + native_language: false + third_party_settings: { } + weight: 72 + region: content links: settings: { } third_party_settings: { } @@ -722,13 +756,9 @@ content: hidden: display_media_entity_view_3: true display_media_thumbnail: true - field_display_hints: true - field_model: true field_pid: true field_place_published_country: true - field_weight: true islandora_fits_checksum: true - langcode: true openseadragon_media_evas_entity_view_1: true openseadragon_media_evas_entity_view_2: true openseadragon_media_evas_service_file: true diff --git a/config/sync/system.file.yml b/config/sync/system.file.yml index de4742464..2ff344ab6 100644 --- a/config/sync/system.file.yml +++ b/config/sync/system.file.yml @@ -1,5 +1,5 @@ _core: default_config_hash: mguGHCYb9Dw5EcpfjwoShGV1Vjkbz3QuPRCLfxiye-g allow_insecure_uploads: false -default_scheme: public +default_scheme: fedora temporary_maximum_age: 21600 diff --git a/config/sync/system.logging.yml b/config/sync/system.logging.yml index d6164de51..d6cedcd22 100644 --- a/config/sync/system.logging.yml +++ b/config/sync/system.logging.yml @@ -1,3 +1,3 @@ _core: default_config_hash: u3-njszl92FaxjrCMiq0yDcjAfcdx72w1zT1O9dx6aA -error_level: hide +error_level: verbose diff --git a/config/sync/views.settings.yml b/config/sync/views.settings.yml index d56d772dc..d63111f8a 100644 --- a/config/sync/views.settings.yml +++ b/config/sync/views.settings.yml @@ -7,7 +7,7 @@ sql_signature: false ui: show: additional_queries: false - advanced_column: false + advanced_column: true default_display: false performance_statistics: false preview_information: true diff --git a/config/sync/views.view.content.yml b/config/sync/views.view.content.yml index 8fd19b7a4..be7f0a17c 100644 --- a/config/sync/views.view.content.yml +++ b/config/sync/views.view.content.yml @@ -7,12 +7,11 @@ dependencies: - field.storage.node.field_model - taxonomy.vocabulary.islandora_models module: + - better_exposed_filters - media - node - taxonomy - user -_core: - default_config_hash: vBKWYGGDoAX-tFd1JErB8tZLSxx3lJ0foouVsgpcbB4 id: content label: Content module: node @@ -582,7 +581,7 @@ display: first: '« First' last: 'Last »' exposed_form: - type: basic + type: bef options: submit_button: Filter reset_button: true @@ -591,6 +590,73 @@ display: expose_sort_order: true sort_asc_label: Asc sort_desc_label: Desc + text_input_required: 'Select any filter and click on Apply to see results' + text_input_required_format: basic_html + bef: + general: + autosubmit: false + autosubmit_exclude_textfield: false + autosubmit_textfield_delay: 500 + autosubmit_hide: false + input_required: false + allow_secondary: true + secondary_label: 'Advanced options' + secondary_open: false + reset_button_always_show: false + filter: + title: + plugin_id: default + advanced: + placeholder_text: '' + collapsible: false + is_secondary: false + type: + plugin_id: default + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + field_model_target_id: + plugin_id: default + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + status: + plugin_id: default + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + langcode: + plugin_id: default + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + field_member_of_target_id: + plugin_id: default + advanced: + collapsible: false + is_secondary: true + nid: + plugin_id: default + advanced: + collapsible: false + is_secondary: true + mid: + plugin_id: default + advanced: + collapsible: false + is_secondary: true access: type: perm options: @@ -845,57 +911,12 @@ display: expose: operator_limit_selection: false operator_list: { } - title_1: - id: title_1 - table: node_field_data - field: title - relationship: field_member_of - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: string - operator: contains - value: '' - group: 1 - exposed: true - expose: - operator_id: title_1_op - label: 'Parent (Member of) title contains' - description: '' - use_operator: false - operator: title_1_op - operator_limit_selection: false - operator_list: { } - identifier: title_1 - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - content_editor: '0' - administrator: '0' - fedoraadmin: '0' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } field_member_of_target_id: id: field_member_of_target_id table: node__field_member_of field: field_member_of_target_id relationship: none - group_type: group + group_type: count_distinct admin_label: '' plugin_id: numeric operator: '=' @@ -907,40 +928,44 @@ display: exposed: true expose: operator_id: field_member_of_target_id_op - label: 'Member of (field_member_of)' - description: null - use_operator: false + label: 'Number of Parents' + description: '' + use_operator: true operator: field_member_of_target_id_op - operator_limit_selection: false - operator_list: { } + operator_limit_selection: true + operator_list: + '<': '<' + '=': '=' + '>': '>' + between: between identifier: field_member_of_target_id required: false remember: false multiple: true remember_roles: authenticated: authenticated - min_placeholder: null - max_placeholder: null - placeholder: null - is_grouped: true + anonymous: '0' + content_editor: '0' + administrator: '0' + fedoraadmin: '0' + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false group_info: - label: Parents - description: '' + label: 'Member of (field_member_of)' + description: null identifier: field_member_of_target_id optional: true - widget: radios - multiple: true + widget: select + multiple: false remember: false default_group: All default_group_multiple: { } group_items: - 1: - title: 'No parent' - operator: empty - value: - min: '' - max: '' - value: '' + 1: { } + 2: { } + 3: { } nid: id: nid table: node_field_data @@ -969,6 +994,7 @@ display: '<': '<' '=': '=' '>': '>' + between: between identifier: child_count required: false remember: false @@ -1022,6 +1048,7 @@ display: '<': '<' '=': '=' '>': '>' + between: between identifier: mid_count required: false remember: false