From 5eec1f97f8775463620046f28991e8ed98ed532f Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 19 Jun 2023 15:12:33 +0200 Subject: [PATCH] new ressource page @ /ressources --- config/sync/page_manager.page.ressources.yml | 9 +- ...ge_variant.ressources-panels_variant-0.yml | 24 ----- config/sync/views.view.base_de_donnees.yml | 100 ++++++++++-------- 3 files changed, 59 insertions(+), 74 deletions(-) diff --git a/config/sync/page_manager.page.ressources.yml b/config/sync/page_manager.page.ressources.yml index 19a4c9a..622d066 100644 --- a/config/sync/page_manager.page.ressources.yml +++ b/config/sync/page_manager.page.ressources.yml @@ -6,12 +6,7 @@ id: ressources label: Ressources description: '' use_admin_theme: false -path: '/ressources/bdd/{collection}' +path: /ressources access_logic: and access_conditions: { } -parameters: - collection: - machine_name: collection - label: Collections - type: 'entity:taxonomy_term' - optional: true +parameters: { } diff --git a/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml b/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml index b72dbc5..629bf50 100644 --- a/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.ressources-panels_variant-0.yml @@ -5,8 +5,6 @@ dependencies: config: - page_manager.page.ressources - views.view.base_de_donnees - - views.view.collection_ - - views.view.collections content: - 'block_content:link:82917d0c-5004-4bfb-af66-ce334782d82d' module: @@ -35,17 +33,6 @@ variant_settings: region: content weight: 1 uuid: 30853c04-a97a-48e8-beaa-f17090eeb714 - bddad8ae-4bd3-43fa-9fcd-1b51c44dd1a9: - id: 'views_block:collections-block_1' - label: '' - label_display: '0' - provider: views - context_mapping: { } - views_label: '' - items_per_page: none - region: content - weight: -2 - uuid: bddad8ae-4bd3-43fa-9fcd-1b51c44dd1a9 f812b08b-afca-4652-a883-d4fc4eea791a: id: 'block_content:82917d0c-5004-4bfb-af66-ce334782d82d' label: 'Ressource form' @@ -58,17 +45,6 @@ variant_settings: region: content weight: 2 uuid: f812b08b-afca-4652-a883-d4fc4eea791a - 2747dc6b-e9e8-4e05-a942-0e9a39f340d9: - id: 'views_block:collection_-block_1' - label: '' - label_display: '0' - provider: views - context_mapping: { } - views_label: '' - items_per_page: none - region: content - weight: 0 - uuid: 2747dc6b-e9e8-4e05-a942-0e9a39f340d9 21361085-d78b-4518-a211-81832de3168b: config_page_type: base_de_donnees config_page_view_mode: full diff --git a/config/sync/views.view.base_de_donnees.yml b/config/sync/views.view.base_de_donnees.yml index 998529a..be7ac5d 100644 --- a/config/sync/views.view.base_de_donnees.yml +++ b/config/sync/views.view.base_de_donnees.yml @@ -5,10 +5,10 @@ dependencies: config: - core.entity_view_mode.node.teaser - node.type.ressource - - taxonomy.vocabulary.collection - taxonomy.vocabulary.tag_ressource - taxonomy.vocabulary.types_de_ressource module: + - datetime - node - taxonomy - user @@ -115,48 +115,7 @@ display: field_identifier: created exposed: false granularity: second - arguments: - field_collections_target_id: - id: field_collections_target_id - table: node__field_collections - field: field_collections_target_id - relationship: none - group_type: group - admin_label: '' - plugin_id: numeric - default_action: default - exception: - value: all - title_enable: false - title: All - title_enable: false - title: '' - default_argument_type: raw - default_argument_options: - index: 2 - use_alias: false - default_argument_skip_url: false - summary_options: - base_path: '' - count: true - override: false - items_per_page: 25 - summary: - sort_order: asc - number_of_records: 0 - format: default_summary - specify_validation: true - validate: - type: 'entity:taxonomy_term' - fail: 'not found' - validate_options: - bundles: - collection: collection - access: false - operation: view - multiple: 0 - break_phrase: false - not: false + arguments: { } filters: status: id: status @@ -171,6 +130,56 @@ display: operator: '' operator_limit_selection: false operator_list: { } + field_date_de_parution_value: + id: field_date_de_parution_value + table: node__field_date_de_parution + field: field_date_de_parution_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + operator: '=' + value: + min: '' + max: '' + value: '' + type: date + group: 1 + exposed: true + expose: + operator_id: field_date_de_parution_value_op + label: Date + description: '' + use_operator: false + operator: field_date_de_parution_value_op + operator_limit_selection: false + operator_list: { } + identifier: field_date_de_parution_value + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + editeur: '0' + min_placeholder: '' + max_placeholder: '' + 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: { } type: id: type table: node_field_data @@ -180,6 +189,7 @@ display: plugin_id: bundle value: ressource: ressource + group: 1 expose: operator_limit_selection: false operator_list: { } @@ -295,6 +305,10 @@ display: level_labels: '' hierarchy_depth: 0 required_depth: 0 + filter_groups: + operator: AND + groups: + 1: AND style: type: default row: