146 Sort trainings by date of training (ones without date at top)

This commit is contained in:
naomi 2021-11-16 06:41:27 +00:00
parent 7fe72a46e5
commit 7c0eec0b84

View File

@ -595,7 +595,12 @@ display:
operator_list: { }
sorts: { }
title: Trainings
header: { }
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
plugin_id: text_custom
footer:
area_text_custom:
id: area_text_custom
@ -645,59 +650,37 @@ display:
- 'config:field.storage.oc_case.field_project'
- 'config:field.storage.oc_case.field_training_status'
- 'config:field.storage.oc_case.field_training_type'
block_1:
display_plugin: block
id: block_1
display_title: 'By trainer'
position: 1
attachment_1:
display_plugin: attachment
id: attachment_1
display_title: 'Attachment - trainings without date'
position: 2
display_options:
display_extenders: { }
display_description: ''
defaults:
arguments: false
relationships: true
fields: true
arguments: true
relationships: false
fields: false
footer: false
filters: false
filter_groups: false
display_description: ''
arguments:
field_trainer_target_id:
id: field_trainer_target_id
table: paragraph__field_trainer
field: field_trainer_target_id
relationship: field_trainer
sorts: false
title: false
header: false
footer:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
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
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
plugin_id: numeric
footer: { }
empty: false
tokenize: false
content: '<h2>With date</h2>'
plugin_id: text_custom
relationships: { }
filters:
type:
id: type
@ -741,10 +724,603 @@ display:
entity_type: oc_case
entity_field: type
plugin_id: bundle
field_date_of_training_value:
id: field_date_of_training_value
table: oc_case__field_date_of_training
field: field_date_of_training_value
relationship: none
group_type: group
admin_label: ''
operator: empty
value:
min: ''
max: ''
value: ''
type: date
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
placeholder: ''
min_placeholder: ''
max_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: { }
plugin_id: datetime
filter_groups:
operator: AND
groups:
1: AND
sorts:
field_date_of_training_value:
id: field_date_of_training_value
table: oc_case__field_date_of_training
field: field_date_of_training_value
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
plugin_id: datetime
title: 'Without date'
displays:
page_2: page_2
fields:
id:
id: id
table: oc_case_field_data
field: id
relationship: none
group_type: group
admin_label: ''
label: ID
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: id
plugin_id: field
name:
id: name
table: oc_case_field_data
field: name
relationship: none
group_type: group
admin_label: ''
label: Title
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: name
plugin_id: field
client:
id: client
table: oc_case_field_data
field: client
relationship: none
group_type: group
admin_label: ''
label: Client
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_case
entity_field: client
plugin_id: field
field_training_type:
id: field_training_type
table: oc_case__field_training_type
field: field_training_type
relationship: none
group_type: group
admin_label: ''
label: 'Training type'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: '/opencase/oc_case/{{ id }}'
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_date_of_training:
id: field_date_of_training
table: oc_case__field_date_of_training
field: field_date_of_training
relationship: none
group_type: group
admin_label: ''
label: 'Date of training'
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: datetime_default
settings:
timezone_override: ''
format_type: short
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_training_status:
id: field_training_status
table: oc_case__field_training_status
field: field_training_status
relationship: none
group_type: group
admin_label: ''
label: 'Training Status'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_project:
id: field_project
table: oc_case__field_project
field: field_project
relationship: none
group_type: group
admin_label: ''
label: Project
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: false
tokenize: false
content: '<h2>Without date</h2>'
plugin_id: text_custom
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.roles
tags:
- 'config:field.storage.oc_case.field_date_of_training'
- 'config:field.storage.oc_case.field_project'
- 'config:field.storage.oc_case.field_training_status'
- 'config:field.storage.oc_case.field_training_type'
block_1:
display_plugin: block
id: block_1
display_title: 'By trainer'
position: 1
display_options:
display_extenders: { }
defaults:
arguments: false
relationships: true
fields: true
footer: false
filters: false
filter_groups: false
sorts: false
display_description: ''
arguments:
field_trainer_target_id:
id: field_trainer_target_id
table: paragraph__field_trainer
field: field_trainer_target_id
relationship: field_trainer
group_type: group
admin_label: ''
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
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
plugin_id: numeric
footer: { }
filters: { }
filter_groups:
operator: AND
groups:
1: AND
sorts: { }
cache_metadata:
max-age: -1
contexts:
@ -2405,6 +2981,7 @@ display:
footer: false
filters: false
filter_groups: false
sorts: false
menu:
type: normal
title: Trainings
@ -2459,10 +3036,69 @@ display:
entity_type: oc_case
entity_field: type
plugin_id: bundle
field_date_of_training_value:
id: field_date_of_training_value
table: oc_case__field_date_of_training
field: field_date_of_training_value
relationship: none
group_type: group
admin_label: ''
operator: 'not empty'
value:
min: ''
max: ''
value: ''
type: date
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
placeholder: ''
min_placeholder: ''
max_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: { }
plugin_id: datetime
filter_groups:
operator: AND
groups:
1: AND
sorts:
field_date_of_training_value:
id: field_date_of_training_value
table: oc_case__field_date_of_training
field: field_date_of_training_value
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
plugin_id: datetime
cache_metadata:
max-age: -1
contexts: