diff --git a/config/views.view.all_trainers.yml b/config/views.view.all_trainers.yml
index 53aea6a..e2bcaf3 100644
--- a/config/views.view.all_trainers.yml
+++ b/config/views.view.all_trainers.yml
@@ -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: 'This display does not include inactive trainers. Click here to see them'
+ 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: 'This display does not include inactive trainers. Click here to see them'
+ 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: 'Back to active trainer list'
+ 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: { }