displayed attachments, added attachments filter to material admin view

This commit is contained in:
2021-01-25 16:15:03 +01:00
parent 5d4c1d5449
commit 8945034b21
12 changed files with 390 additions and 57 deletions

View File

@@ -29,6 +29,7 @@ dependencies:
- user.role.admin
- user.role.root
module:
- better_exposed_filters
- computed_field
- content_lock
- file
@@ -74,7 +75,7 @@ display:
query_comment: ''
query_tags: { }
exposed_form:
type: basic
type: bef
options:
submit_button: Apply
reset_button: true
@@ -83,6 +84,43 @@ display:
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Sélectionnez n''importe quel filtre et cliquez sur Appliquer pour voir les résultats'
text_input_required_format: null
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Options avancées'
secondary_open: false
sort:
plugin_id: default
filter:
title:
plugin_id: default
field_reference_value:
plugin_id: default
tid:
plugin_id: default
field_famille_value:
plugin_id: default
field_workflow_value:
plugin_id: default
field_thesaurus_target_id:
plugin_id: default
field_tags_target_id:
plugin_id: default
field_samples_location:
plugin_id: default
field_attachments_target_id:
plugin_id: default
field_memo_value:
plugin_id: default
field_migration_value:
plugin_id: default
pager:
type: pagerer
options:
@@ -2084,77 +2122,83 @@ display:
title: ''
description: ''
open: '1'
weight: '-25'
weight: '-26'
id: container-0
pid: root
depth: '1'
type: container
title:
weight: '-23'
weight: '-27'
id: title
pid: container-0
depth: '2'
type: filter
field_reference_value:
weight: '-22'
weight: '-26'
id: field_reference_value
pid: container-0
depth: '2'
type: filter
tid:
weight: '-21'
weight: '-25'
id: tid
pid: container-0
depth: '2'
type: filter
field_famille_value:
weight: '-20'
weight: '-24'
id: field_famille_value
pid: container-0
depth: '2'
type: filter
field_attachments_target_id:
weight: '-23'
id: field_attachments_target_id
pid: container-0
depth: '2'
type: filter
field_memo_value:
weight: '-22'
id: field_memo_value
pid: container-0
depth: '2'
type: filter
field_workflow_value:
weight: '-19'
weight: '-21'
id: field_workflow_value
pid: container-0
depth: '2'
type: filter
field_migration_value:
weight: '-20'
id: field_migration_value
pid: container-0
depth: '2'
type: filter
field_thesaurus_target_id:
weight: '-18'
weight: '-19'
id: field_thesaurus_target_id
pid: container-0
depth: '2'
type: filter
field_tags_target_id:
weight: '-17'
weight: '-18'
id: field_tags_target_id
pid: container-0
depth: '2'
type: filter
field_samples_location:
weight: '-16'
weight: '-17'
id: field_samples_location
pid: container-0
depth: '2'
type: filter
field_memo_value:
weight: '-15'
id: field_memo_value
pid: container-0
depth: '2'
type: filter
field_migration_value:
weight: '-14'
id: field_migration_value
pid: container-0
depth: '2'
type: filter
container-3:
container_type: container
title: ''
description: ''
open: '1'
weight: '-23'
weight: '-24'
id: container-3
pid: root
depth: '1'
@@ -2170,7 +2214,7 @@ display:
title: ''
description: ''
open: '1'
weight: '-22'
weight: '-23'
id: container-2
pid: root
depth: '1'
@@ -2179,7 +2223,7 @@ display:
container_type: container
title: ''
description: ''
weight: '-21'
weight: '-22'
open: 0
id: container-1
pid: root
@@ -2189,7 +2233,7 @@ display:
container_type: details
title: 'Container 4'
description: ''
weight: '-19'
weight: '-21'
open: 0
id: container-4
pid: root
@@ -2199,7 +2243,7 @@ display:
container_type: details
title: 'Container 5'
description: ''
weight: '-18'
weight: '-20'
open: 0
id: container-5
pid: root
@@ -2209,7 +2253,7 @@ display:
container_type: details
title: 'Container 6'
description: ''
weight: '-17'
weight: '-19'
open: 0
id: container-6
pid: root
@@ -2219,7 +2263,7 @@ display:
container_type: details
title: 'Container 8'
description: ''
weight: '-16'
weight: '-18'
open: 0
id: container-8
pid: root
@@ -2229,7 +2273,7 @@ display:
container_type: details
title: 'Container 7'
description: ''
weight: '-15'
weight: '-17'
open: 0
id: container-7
pid: root
@@ -2239,7 +2283,7 @@ display:
container_type: details
title: 'Container 10'
description: ''
weight: '-14'
weight: '-16'
open: 0
id: container-10
pid: root
@@ -2249,12 +2293,22 @@ display:
container_type: details
title: 'Container 9'
description: ''
weight: '-13'
weight: '-15'
open: 0
id: container-9
pid: root
depth: '1'
type: container
container-11:
container_type: details
title: 'Container 11'
description: ''
weight: '-14'
open: 0
id: container-11
pid: root
depth: '1'
type: container
path: admin/content/materials
menu:
type: tab
@@ -4167,6 +4221,71 @@ display:
default_group_multiple: { }
group_items: { }
plugin_id: string
field_attachments_target_id:
id: field_attachments_target_id
table: node__field_attachments
field: field_attachments_target_id
relationship: none
group_type: group
admin_label: ''
operator: '='
value:
min: ''
max: ''
value: ''
group: 1
exposed: true
expose:
operator_id: field_attachments_target_id_op
label: 'Attachments (field_attachments : target_id)'
description: null
use_operator: false
operator: field_attachments_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: field_attachments_target_id
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
placeholder: null
min_placeholder: null
max_placeholder: null
is_grouped: true
group_info:
label: Attachments
description: ''
identifier: field_attachments_target_id
optional: true
widget: select
multiple: false
remember: true
default_group: All
default_group_multiple: { }
group_items:
1:
title: Empty
operator: empty
value:
value: ''
min: ''
max: ''
2:
title: 'Not Empty'
operator: 'not empty'
value:
value: ''
min: ''
max: ''
3:
title: ''
operator: '='
value:
value: ''
min: ''
max: ''
plugin_id: numeric
field_memo_value:
id: field_memo_value
table: node__field_memo