From 76f8e9298ad09a4d71ce15cb0fb449bf9f7fdde7 Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 16 Sep 2022 16:02:56 +0200 Subject: [PATCH] improved licences admin page: more filters --- config/sync/views.view.licences.yml | 128 +++++++++++++++++++++++++++- 1 file changed, 127 insertions(+), 1 deletion(-) diff --git a/config/sync/views.view.licences.yml b/config/sync/views.view.licences.yml index 660e5b01..45119e50 100644 --- a/config/sync/views.view.licences.yml +++ b/config/sync/views.view.licences.yml @@ -589,9 +589,68 @@ display: plugin_id: commerce_entity_bundle value: role: role + group: 1 expose: operator_limit_selection: false operator_list: { } + expires: + id: expires + table: commerce_license + field: expires + relationship: none + group_type: group + admin_label: '' + entity_type: commerce_license + entity_field: expires + plugin_id: date + operator: between + value: + min: '' + max: '' + value: '' + type: date + group: 1 + exposed: true + expose: + operator_id: expires_op + label: Expire + description: '' + use_operator: false + operator: expires_op + operator_limit_selection: false + operator_list: { } + identifier: expires + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + unverified: '0' + anonymous: '0' + free_user: '0' + contact_company: '0' + alpha_testeur: '0' + student: '0' + adherent: '0' + translator: '0' + admin_showroom: '0' + admin: '0' + root: '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: { } product_variation: id: product_variation table: commerce_license @@ -701,6 +760,62 @@ display: default_group: All default_group_multiple: { } group_items: { } + mail: + id: mail + table: users_field_data + field: mail + relationship: uid + group_type: group + admin_label: '' + entity_type: user + entity_field: mail + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: mail_op + label: Courriel + description: '' + use_operator: false + operator: mail_op + operator_limit_selection: false + operator_list: { } + identifier: mail + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + unverified: '0' + anonymous: '0' + free_user: '0' + contact_company: '0' + alpha_testeur: '0' + student: '0' + adherent: '0' + translator: '0' + admin_showroom: '0' + admin: '0' + root: '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: { } + filter_groups: + operator: AND + groups: + 1: AND style: type: table options: @@ -788,7 +903,18 @@ display: distinct: false replica: false query_tags: { } - relationships: { } + relationships: + uid: + id: uid + table: commerce_license + field: uid + relationship: none + group_type: group + admin_label: Utilisateur + entity_type: commerce_license + entity_field: uid + plugin_id: standard + required: true header: { } footer: { } display_extenders: