All Trainers • Hide inactive trainers from 'Trainers'

This commit is contained in:
naomi 2022-05-07 13:28:47 +01:00
parent f7c4a1e8bc
commit 67f09c1b5e

View File

@ -228,6 +228,44 @@ display:
expose:
operator_limit_selection: false
operator_list: { }
field_active_value:
id: field_active_value
table: oc_actor__field_active
field: field_active_value
relationship: none
group_type: group
admin_label: ''
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: table
options:
@ -270,7 +308,18 @@ display:
replica: false
query_tags: { }
relationships: { }
header: { }
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: false
content: '<a href=''/opencase/inactive-trainers''>This display does not include inactive trainers. Click here to see them</a>'
tokenize: false
footer: { }
display_extenders: { }
cache_metadata:
@ -287,6 +336,20 @@ display:
display_plugin: page
position: 1
display_options:
defaults:
header: false
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: false
content: '<a href=''/opencase/inactive-trainers''>This display does not include inactive trainers. Click here to see them</a>'
tokenize: false
display_extenders: { }
path: opencase/all-trainers
menu:
@ -306,3 +369,93 @@ display:
- url.query_args
- user.roles
tags: { }
page_2:
id: page_2
display_title: Inactive
display_plugin: page
position: 2
display_options:
title: 'Inactive trainers'
filters:
type:
id: type
table: oc_actor_field_data
field: type
entity_type: oc_actor
entity_field: type
plugin_id: bundle
value:
trainer: trainer
expose:
operator_limit_selection: false
operator_list: { }
field_active_value:
id: field_active_value
table: oc_actor__field_active
field: field_active_value
relationship: none
group_type: group
admin_label: ''
plugin_id: boolean
operator: '='
value: '0'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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
defaults:
title: false
filters: false
filter_groups: false
header: false
display_description: ''
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: false
content: '<a href=''/opencase/all-trainers''>Back to active trainer list</a>'
tokenize: false
display_extenders: { }
path: opencase/inactive-trainers
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.roles
tags: { }