Addded number of cases to trainer display and all trainers view

This commit is contained in:
naomi 2022-05-08 18:39:40 +01:00
parent 5a32ef2614
commit 2a8936e106
3 changed files with 115 additions and 36 deletions

74
composer.lock generated
View File

@ -94,7 +94,7 @@
"source": {
"type": "git",
"url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git",
"reference": "5af08013021a173f0f29cff029fbfbbfec649ba2"
"reference": "f9846f2d86225e1e2b51d331484338504e8eb2ab"
},
"require": {
"composer/installers": "*",
@ -111,7 +111,7 @@
"email": "helo@autonomic.zone"
}
],
"time": "2022-04-22T15:26:09+00:00"
"time": "2022-05-02T17:20:35+00:00"
},
{
"name": "bjeavons/zxcvbn-php",
@ -458,16 +458,16 @@
},
{
"name": "consolidation/annotated-command",
"version": "4.5.4",
"version": "4.5.5",
"source": {
"type": "git",
"url": "https://github.com/consolidation/annotated-command.git",
"reference": "93398c3166d9026ab93219ce23b2092b4d7b7904"
"reference": "67cea8e8e7656b74da651ea6f49321853996c0fd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/consolidation/annotated-command/zipball/93398c3166d9026ab93219ce23b2092b4d7b7904",
"reference": "93398c3166d9026ab93219ce23b2092b4d7b7904",
"url": "https://api.github.com/repos/consolidation/annotated-command/zipball/67cea8e8e7656b74da651ea6f49321853996c0fd",
"reference": "67cea8e8e7656b74da651ea6f49321853996c0fd",
"shasum": ""
},
"require": {
@ -508,9 +508,9 @@
"description": "Initialize Symfony Console commands from annotated command class methods.",
"support": {
"issues": "https://github.com/consolidation/annotated-command/issues",
"source": "https://github.com/consolidation/annotated-command/tree/4.5.4"
"source": "https://github.com/consolidation/annotated-command/tree/4.5.5"
},
"time": "2022-04-05T17:58:10+00:00"
"time": "2022-04-26T16:18:25+00:00"
},
{
"name": "consolidation/config",
@ -3357,6 +3357,10 @@
"name": "RobLoach",
"homepage": "https://www.drupal.org/user/61114"
},
{
"name": "bnjmnm",
"homepage": "https://www.drupal.org/user/2369194"
},
{
"name": "jjeff",
"homepage": "https://www.drupal.org/user/17190"
@ -6357,16 +6361,16 @@
},
{
"name": "psy/psysh",
"version": "v0.11.2",
"version": "v0.11.4",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "7f7da640d68b9c9fec819caae7c744a213df6514"
"reference": "05c544b339b112226ad14803e1e5b09a61957454"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/7f7da640d68b9c9fec819caae7c744a213df6514",
"reference": "7f7da640d68b9c9fec819caae7c744a213df6514",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/05c544b339b112226ad14803e1e5b09a61957454",
"reference": "05c544b339b112226ad14803e1e5b09a61957454",
"shasum": ""
},
"require": {
@ -6381,15 +6385,13 @@
"symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.2",
"hoa/console": "3.17.05.02"
"bamarni/composer-bin-plugin": "^1.2"
},
"suggest": {
"ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
"ext-pdo-sqlite": "The doc command requires SQLite to work.",
"ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
"hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history."
},
"bin": [
"bin/psysh"
@ -6429,9 +6431,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.11.2"
"source": "https://github.com/bobthecow/psysh/tree/v0.11.4"
},
"time": "2022-02-28T15:28:54+00:00"
"time": "2022-05-06T12:49:14+00:00"
},
{
"name": "ralouphie/getallheaders",
@ -7201,16 +7203,16 @@
},
{
"name": "symfony/finder",
"version": "v4.4.37",
"version": "v4.4.41",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "b17d76d7ed179f017aad646e858c90a2771af15d"
"reference": "40790bdf293b462798882ef6da72bb49a4a6633a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/b17d76d7ed179f017aad646e858c90a2771af15d",
"reference": "b17d76d7ed179f017aad646e858c90a2771af15d",
"url": "https://api.github.com/repos/symfony/finder/zipball/40790bdf293b462798882ef6da72bb49a4a6633a",
"reference": "40790bdf293b462798882ef6da72bb49a4a6633a",
"shasum": ""
},
"require": {
@ -7243,7 +7245,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v4.4.37"
"source": "https://github.com/symfony/finder/tree/v4.4.41"
},
"funding": [
{
@ -7259,7 +7261,7 @@
"type": "tidelift"
}
],
"time": "2022-01-02T09:41:36+00:00"
"time": "2022-04-14T15:36:10+00:00"
},
{
"name": "symfony/http-client-contracts",
@ -8741,16 +8743,16 @@
},
{
"name": "symfony/string",
"version": "v5.4.3",
"version": "v5.4.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "92043b7d8383e48104e411bc9434b260dbeb5a10"
"reference": "3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10",
"reference": "92043b7d8383e48104e411bc9434b260dbeb5a10",
"url": "https://api.github.com/repos/symfony/string/zipball/3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8",
"reference": "3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8",
"shasum": ""
},
"require": {
@ -8807,7 +8809,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.4.3"
"source": "https://github.com/symfony/string/tree/v5.4.8"
},
"funding": [
{
@ -8823,7 +8825,7 @@
"type": "tidelift"
}
],
"time": "2022-01-02T09:53:40+00:00"
"time": "2022-04-19T10:40:37+00:00"
},
{
"name": "symfony/translation",
@ -11924,16 +11926,16 @@
},
{
"name": "symfony/config",
"version": "v4.4.37",
"version": "v4.4.41",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
"reference": "e8c2d2c951ddedecb6d28954d336cb7d2e852d0e"
"reference": "9d031eb2d4292aed117b0f7fafd5c436dcf3dfd7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/e8c2d2c951ddedecb6d28954d336cb7d2e852d0e",
"reference": "e8c2d2c951ddedecb6d28954d336cb7d2e852d0e",
"url": "https://api.github.com/repos/symfony/config/zipball/9d031eb2d4292aed117b0f7fafd5c436dcf3dfd7",
"reference": "9d031eb2d4292aed117b0f7fafd5c436dcf3dfd7",
"shasum": ""
},
"require": {
@ -11982,7 +11984,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/config/tree/v4.4.37"
"source": "https://github.com/symfony/config/tree/v4.4.41"
},
"funding": [
{
@ -11998,7 +12000,7 @@
"type": "tidelift"
}
],
"time": "2022-01-03T09:46:22+00:00"
"time": "2022-04-12T15:19:55+00:00"
},
{
"name": "symfony/css-selector",

View File

@ -138,9 +138,20 @@ content:
third_party_settings: { }
weight: 9
region: content
total_cases:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 14
region: content
hidden:
feeds_item: true
full_name: true
middle_names: true
phone2: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -160,6 +160,72 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
total_cases:
id: total_cases
table: oc_actor_field_data
field: total_cases
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: total_cases
plugin_id: field
label: 'Number of Cases'
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: 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
pager:
type: mini
options: