Compare commits
97 Commits
Author | SHA1 | Date | |
---|---|---|---|
a7a96ab03c | |||
a6db6615df | |||
1c3370a784 | |||
59f4987371 | |||
c1e24593fa | |||
c98f028045 | |||
873f751795 | |||
6b9ff3a5e7 | |||
b24ba377d2 | |||
33168ecb62 | |||
3eacbc952f | |||
47ea8493ce | |||
eb6cfb89dd | |||
94e2635ee1 | |||
fa7516b03a | |||
bfa4f27cf7 | |||
36aff5564e | |||
e0260256fa | |||
fd47bee26a | |||
150cc6cfd1 | |||
44c948d22a | |||
99733415c8 | |||
5e127358b2 | |||
9a937e2d46 | |||
e45cbb6a76 | |||
ca04c3e259 | |||
658ba667b1 | |||
309a31e012 | |||
8ccd0313a7 | |||
ab2662195b | |||
b81d6b5f31 | |||
ad6811b5e9 | |||
da0c0ff1b5 | |||
3e6011a359 | |||
7e28f88b86 | |||
0efab1af06 | |||
4b14537dc4 | |||
52eb5898e3 | |||
acf3e704cc | |||
142c22f8e2 | |||
570d442d41 | |||
981439d3c6 | |||
0333e20afd | |||
ec25af3858 | |||
30a4d13081 | |||
904cf2d63c | |||
78a44718fb | |||
7c30d9d02e | |||
fdd07ea104 | |||
10b99f132e | |||
fd5d145866 | |||
530df37e92 | |||
7fd551982d | |||
0aa6b92490 | |||
b62f2f34a9 | |||
8187f6b306 | |||
56be669fe9 | |||
5cde32c975 | |||
bfef673d42 | |||
9f735eb492 | |||
a8c454c509 | |||
9424aca1e9 | |||
b5f718647e | |||
7e1889346b | |||
1e0a6a41d3 | |||
e14a68ef62 | |||
c48f58d49b | |||
7a61f76a93 | |||
354bb0adba | |||
e02721217b | |||
d5fe23418e | |||
c81ebc4d94 | |||
7fbc35915c | |||
987adc97ce | |||
3faabda3f2 | |||
eb6356f715 | |||
92cec4c513 | |||
e5db0007c9 | |||
cc108076bb | |||
714ceeb3d0 | |||
0371c37786 | |||
e1e40bc8ad | |||
9b9bce4bc4 | |||
1d86b2a5bc | |||
ee5c82cb0b | |||
20b3ff0cd4 | |||
393ce2501c | |||
2be2cc7837 | |||
e45d49e299 | |||
51db7f00d4 | |||
e5da065d0c | |||
14575008d6 | |||
8e43ad637d | |||
d5e767ea9f | |||
f97c43bbb2 | |||
ac92336b0e | |||
bc77e1995d |
29
README.md
29
README.md
@ -1,17 +1,36 @@
|
|||||||
# OpenCase
|
# OpenCase
|
||||||
A simple, case-management-focused CRM for small altruistic organisations.
|
A simple case-management system for small altruistic organisations.
|
||||||
|
|
||||||
## Current Status
|
|
||||||
**13 May 2018** A demo site, with basic functionality is available at demo.opencase.org.uk. If you are interested, raise an issue and I will get the login to you somehow.
|
|
||||||
|
|
||||||
## The Plan
|
## The Plan
|
||||||
OpenCase will be available as:
|
OpenCase will be available as:
|
||||||
* A Drupal module, on drupal.org
|
* A Drupal module, on drupal.org
|
||||||
* A Drupal install profile / distribution
|
|
||||||
* A hosted service
|
* A hosted service
|
||||||
|
|
||||||
|
### Features
|
||||||
|
#### Existing
|
||||||
|
* Completely configurable person types, case types and activity types
|
||||||
|
* Search
|
||||||
|
* Basic Reporting
|
||||||
|
* Basic user roles (caseworker, volunteer co-ordinator, site admin etc) with access control
|
||||||
|
|
||||||
|
#### Coming soon
|
||||||
|
* Better reporting (currently only reports on defaults fields and not user-added ones)
|
||||||
|
* Allocation of tasks, overview of tasks and their stage of completion
|
||||||
|
* Appointments and notifications
|
||||||
|
|
||||||
|
## Current Status
|
||||||
|
**11 Nov 2018**
|
||||||
|
### User Base
|
||||||
|
OpenCase is being used by a couple of organisations, early adopters on the hosted platform.
|
||||||
|
### Availability as Free Software
|
||||||
|
If you want to install OpenCase for yourself, please get in touch via Issues. It is changing rapidly and the install process is currently undocumented but I am more than happy to guide you through.
|
||||||
|
### Try it out
|
||||||
|
A demo site, with basic functionality is available at demo.opencase.org.uk. If you are interested, raise an issue and I will get the login to you somehow.
|
||||||
|
|
||||||
## Find out more
|
## Find out more
|
||||||
* More details, including user stories for future development, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/zen-crm/content/)
|
* More details, including user stories for future development, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/zen-crm/content/)
|
||||||
* Raise an issue to contact the developer.
|
* Raise an issue to contact the developer.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
25
config/install/block.block.actortypehelp.yml
Normal file
25
config/install/block.block.actortypehelp.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: actortypehelp
|
||||||
|
theme: bartik
|
||||||
|
region: content
|
||||||
|
weight: -11
|
||||||
|
provider: null
|
||||||
|
plugin: actor_type_help
|
||||||
|
settings:
|
||||||
|
id: actor_type_help
|
||||||
|
label: 'Actor Type Help'
|
||||||
|
provider: opencase
|
||||||
|
label_display: '0'
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/admin/opencase/oc_actor_type/*/edit/fields'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -2,22 +2,68 @@ langcode: en
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- system.menu.opencase-admin
|
- system.menu.opencase
|
||||||
module:
|
module:
|
||||||
- system
|
- superfish
|
||||||
theme:
|
theme:
|
||||||
- bartik
|
- bartik
|
||||||
id: opencase
|
id: opencase
|
||||||
theme: bartik
|
theme: bartik
|
||||||
region: sidebar_first
|
region: primary_menu
|
||||||
weight: -8
|
weight: 0
|
||||||
provider: null
|
provider: null
|
||||||
plugin: 'system_menu_block:opencase-admin'
|
plugin: 'superfish:opencase'
|
||||||
settings:
|
settings:
|
||||||
id: 'system_menu_block:opencase-admin'
|
id: 'superfish:opencase'
|
||||||
label: 'OpenCase Admin'
|
label: OpenCase
|
||||||
provider: system
|
provider: superfish
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
level: 1
|
level: '1'
|
||||||
depth: 0
|
depth: '0'
|
||||||
|
menu_type: horizontal
|
||||||
|
style: none
|
||||||
|
arrow: 0
|
||||||
|
shadow: 1
|
||||||
|
speed: fast
|
||||||
|
delay: '800'
|
||||||
|
slide: vertical
|
||||||
|
supposition: 1
|
||||||
|
hoverintent: 1
|
||||||
|
touch: '1'
|
||||||
|
touchbh: '1'
|
||||||
|
touchbp: '768'
|
||||||
|
touchua: '0'
|
||||||
|
touchual: ''
|
||||||
|
touchuam: '0'
|
||||||
|
small: '2'
|
||||||
|
smallbp: '768'
|
||||||
|
smallua: '0'
|
||||||
|
smallual: ''
|
||||||
|
smalluam: '0'
|
||||||
|
smallact: '1'
|
||||||
|
smallset: ''
|
||||||
|
smallasa: 0
|
||||||
|
smallcmc: 0
|
||||||
|
smallecm: ''
|
||||||
|
smallchc: 0
|
||||||
|
smallech: ''
|
||||||
|
smallicm: ''
|
||||||
|
smallich: ''
|
||||||
|
smallamt: ''
|
||||||
|
smallabt: '1'
|
||||||
|
supersubs: 1
|
||||||
|
minwidth: '12'
|
||||||
|
maxwidth: '27'
|
||||||
|
multicolumn: 0
|
||||||
|
multicolumn_depth: '1'
|
||||||
|
multicolumn_levels: '1'
|
||||||
|
pathlevels: '1'
|
||||||
|
expanded: 0
|
||||||
|
clone_parent: 0
|
||||||
|
hide_linkdescription: 0
|
||||||
|
add_linkdescription: 0
|
||||||
|
link_depth_class: 1
|
||||||
|
custom_list_class: ''
|
||||||
|
custom_item_class: ''
|
||||||
|
custom_link_class: ''
|
||||||
visibility: { }
|
visibility: { }
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- system.menu.opencase-add-actors
|
|
||||||
module:
|
|
||||||
- system
|
|
||||||
- user
|
|
||||||
theme:
|
|
||||||
- bartik
|
|
||||||
id: opencaseaddactors
|
|
||||||
theme: bartik
|
|
||||||
region: sidebar_first
|
|
||||||
weight: -8
|
|
||||||
provider: null
|
|
||||||
plugin: 'system_menu_block:opencase-add-actors'
|
|
||||||
settings:
|
|
||||||
id: 'system_menu_block:opencase-add-actors'
|
|
||||||
label: 'Add Actors'
|
|
||||||
provider: system
|
|
||||||
label_display: visible
|
|
||||||
level: 1
|
|
||||||
depth: 0
|
|
||||||
visibility:
|
|
||||||
user_role:
|
|
||||||
id: user_role
|
|
||||||
roles:
|
|
||||||
authenticated: authenticated
|
|
||||||
negate: false
|
|
||||||
context_mapping:
|
|
||||||
user: '@user.current_user_context:current_user'
|
|
@ -1,31 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- system.menu.openc
|
|
||||||
module:
|
|
||||||
- system
|
|
||||||
- user
|
|
||||||
theme:
|
|
||||||
- bartik
|
|
||||||
id: opencaseglobal
|
|
||||||
theme: bartik
|
|
||||||
region: sidebar_first
|
|
||||||
weight: -7
|
|
||||||
provider: null
|
|
||||||
plugin: 'system_menu_block:openc'
|
|
||||||
settings:
|
|
||||||
id: 'system_menu_block:openc'
|
|
||||||
label: 'OpenCase Global'
|
|
||||||
provider: system
|
|
||||||
label_display: '0'
|
|
||||||
level: 1
|
|
||||||
depth: 0
|
|
||||||
visibility:
|
|
||||||
user_role:
|
|
||||||
id: user_role
|
|
||||||
roles:
|
|
||||||
authenticated: authenticated
|
|
||||||
negate: false
|
|
||||||
context_mapping:
|
|
||||||
user: '@user.current_user_context:current_user'
|
|
@ -1,7 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: openc
|
|
||||||
label: 'OpenCase Global'
|
|
||||||
description: ''
|
|
||||||
locked: false
|
|
@ -1,7 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: opencase-add-actors
|
|
||||||
label: 'OpenCase Add Actors'
|
|
||||||
description: ''
|
|
||||||
locked: false
|
|
@ -1,7 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: opencase-admin
|
|
||||||
label: 'OpenCase Admin'
|
|
||||||
description: 'Administer OpenCase '
|
|
||||||
locked: false
|
|
7
config/install/system.menu.opencase.yml
Normal file
7
config/install/system.menu.opencase.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: opencase
|
||||||
|
label: OpenCase
|
||||||
|
description: 'Main navigation menu for OpenCase'
|
||||||
|
locked: false
|
@ -13,7 +13,6 @@ description: ''
|
|||||||
tag: ''
|
tag: ''
|
||||||
base_table: oc_activity_field_data
|
base_table: oc_activity_field_data
|
||||||
base_field: id
|
base_field: id
|
||||||
core: 8.x
|
|
||||||
display:
|
display:
|
||||||
default:
|
default:
|
||||||
display_plugin: default
|
display_plugin: default
|
||||||
@ -50,7 +49,7 @@ display:
|
|||||||
pager:
|
pager:
|
||||||
type: mini
|
type: mini
|
||||||
options:
|
options:
|
||||||
items_per_page: 10
|
items_per_page: 50
|
||||||
offset: 0
|
offset: 0
|
||||||
id: 0
|
id: 0
|
||||||
total_pages: null
|
total_pages: null
|
||||||
@ -233,7 +232,7 @@ display:
|
|||||||
more_link_text: ''
|
more_link_text: ''
|
||||||
more_link_path: ''
|
more_link_path: ''
|
||||||
strip_tags: false
|
strip_tags: false
|
||||||
trim: true
|
trim: false
|
||||||
preserve_tags: ''
|
preserve_tags: ''
|
||||||
html: false
|
html: false
|
||||||
element_type: ''
|
element_type: ''
|
||||||
|
@ -50,7 +50,7 @@ display:
|
|||||||
pager:
|
pager:
|
||||||
type: mini
|
type: mini
|
||||||
options:
|
options:
|
||||||
items_per_page: 20
|
items_per_page: 50
|
||||||
offset: 0
|
offset: 0
|
||||||
id: 0
|
id: 0
|
||||||
total_pages: null
|
total_pages: null
|
||||||
@ -447,52 +447,7 @@ display:
|
|||||||
empty_zero: false
|
empty_zero: false
|
||||||
hide_alter_empty: false
|
hide_alter_empty: false
|
||||||
plugin_id: custom
|
plugin_id: custom
|
||||||
filters:
|
filters: null
|
||||||
type:
|
|
||||||
id: type
|
|
||||||
table: oc_case_field_data
|
|
||||||
field: type
|
|
||||||
relationship: none
|
|
||||||
group_type: group
|
|
||||||
admin_label: ''
|
|
||||||
operator: in
|
|
||||||
value: { }
|
|
||||||
group: 1
|
|
||||||
exposed: true
|
|
||||||
expose:
|
|
||||||
operator_id: type_op
|
|
||||||
label: 'Case type'
|
|
||||||
description: ''
|
|
||||||
use_operator: false
|
|
||||||
operator: type_op
|
|
||||||
identifier: type
|
|
||||||
required: false
|
|
||||||
remember: false
|
|
||||||
multiple: false
|
|
||||||
remember_roles:
|
|
||||||
authenticated: authenticated
|
|
||||||
anonymous: '0'
|
|
||||||
administrator: '0'
|
|
||||||
overseer: '0'
|
|
||||||
caseworker: '0'
|
|
||||||
volunteer_co_ord: '0'
|
|
||||||
opencase_admin: '0'
|
|
||||||
reduce: false
|
|
||||||
is_grouped: false
|
|
||||||
group_info:
|
|
||||||
label: ''
|
|
||||||
description: ''
|
|
||||||
identifier: ''
|
|
||||||
optional: true
|
|
||||||
widget: select
|
|
||||||
multiple: false
|
|
||||||
remember: false
|
|
||||||
default_group: All
|
|
||||||
default_group_multiple: { }
|
|
||||||
group_items: { }
|
|
||||||
entity_type: oc_case
|
|
||||||
entity_field: type
|
|
||||||
plugin_id: bundle
|
|
||||||
sorts:
|
sorts:
|
||||||
created:
|
created:
|
||||||
id: created
|
id: created
|
||||||
@ -614,52 +569,7 @@ display:
|
|||||||
filter_groups: false
|
filter_groups: false
|
||||||
empty: false
|
empty: false
|
||||||
path: opencase/all-cases
|
path: opencase/all-cases
|
||||||
filters:
|
filters: null
|
||||||
type:
|
|
||||||
id: type
|
|
||||||
table: oc_case_field_data
|
|
||||||
field: type
|
|
||||||
relationship: none
|
|
||||||
group_type: group
|
|
||||||
admin_label: ''
|
|
||||||
operator: in
|
|
||||||
value: { }
|
|
||||||
group: 1
|
|
||||||
exposed: true
|
|
||||||
expose:
|
|
||||||
operator_id: type_op
|
|
||||||
label: 'Case type'
|
|
||||||
description: ''
|
|
||||||
use_operator: false
|
|
||||||
operator: type_op
|
|
||||||
identifier: type
|
|
||||||
required: false
|
|
||||||
remember: false
|
|
||||||
multiple: false
|
|
||||||
remember_roles:
|
|
||||||
authenticated: authenticated
|
|
||||||
anonymous: '0'
|
|
||||||
administrator: '0'
|
|
||||||
overseer: '0'
|
|
||||||
caseworker: '0'
|
|
||||||
volunteer_co_ord: '0'
|
|
||||||
opencase_admin: '0'
|
|
||||||
reduce: false
|
|
||||||
is_grouped: false
|
|
||||||
group_info:
|
|
||||||
label: ''
|
|
||||||
description: ''
|
|
||||||
identifier: ''
|
|
||||||
optional: true
|
|
||||||
widget: select
|
|
||||||
multiple: false
|
|
||||||
remember: false
|
|
||||||
default_group: All
|
|
||||||
default_group_multiple: { }
|
|
||||||
group_items: { }
|
|
||||||
entity_type: oc_case
|
|
||||||
entity_field: type
|
|
||||||
plugin_id: bundle
|
|
||||||
filter_groups:
|
filter_groups:
|
||||||
operator: AND
|
operator: AND
|
||||||
groups:
|
groups:
|
||||||
@ -681,7 +591,6 @@ display:
|
|||||||
contexts:
|
contexts:
|
||||||
- 'languages:language_content'
|
- 'languages:language_content'
|
||||||
- 'languages:language_interface'
|
- 'languages:language_interface'
|
||||||
- url
|
|
||||||
- url.query_args
|
- url.query_args
|
||||||
- user.roles
|
- user.roles
|
||||||
tags: { }
|
tags: { }
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
body {
|
||||||
|
font-size: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Free the people from the tyranny of the useless search button */
|
/* Free the people from the tyranny of the useless search button */
|
||||||
#edit-submit-actor-search{
|
#edit-submit-actor-search{
|
||||||
@ -13,3 +16,33 @@
|
|||||||
.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-new-revision.form-item-new-revision {
|
.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-new-revision.form-item-new-revision {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Style the search box in header bar. */
|
||||||
|
#block-exposedformactor-searchpage-1 {
|
||||||
|
top: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#block-exposedformactor-searchpage-1 #edit-actions {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#block-exposedformactor-searchpage-1 .form-text {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make drop-down nav menu opaque */
|
||||||
|
.block-superfish .menu ul {
|
||||||
|
background: white;
|
||||||
|
color: darkgray;
|
||||||
|
}
|
||||||
|
.block-superfish .menu ul li {
|
||||||
|
border-bottom: 1px dotted darkgray;
|
||||||
|
}
|
||||||
|
.block-superfish .menu ul li a:hover {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* In views, display label at top of field. Ths is because full descriptions are displayed in the activity view so having the label in the middle means it disappears down the page. */
|
||||||
|
td.views-field {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.asylum_status
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_asylum_status
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:asylum_status'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:asylum_status'
|
||||||
|
label: 'Asylum Status'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_asylum_status
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/clients'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.created
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_created
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:created'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:created'
|
||||||
|
label: 'Created Date'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_created
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/clients'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.disability
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_disability
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:disability'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:disability'
|
||||||
|
label: 'Disability'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_disability
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/clients'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.gender_identified_with
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_gender_identified_with
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:gender_identified_with'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:gender_identified_with'
|
||||||
|
label: 'Gender Identity'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_gender_identified_with
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/clients'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.languages
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_languages
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:languages'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:languages'
|
||||||
|
label: 'Languages'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_languages
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/clients'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.involved_parties
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: involvedparties
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:involved_parties'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:involved_parties'
|
||||||
|
label: 'Involved Parties'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: involvedparties
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: /opencase/reporting/cases
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.nationalities
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: nationalities
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:nationalities'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:nationalities'
|
||||||
|
label: Nationalities
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: nationalities
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: /opencase/reporting/clients
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.osic_level
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: osiclevel
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:osic_level'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:osic_level'
|
||||||
|
label: 'OSIC level'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: osiclevel
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: /opencase/reporting/volunteers
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,29 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.outcome
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: outcome
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:outcome'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:outcome'
|
||||||
|
label: Outcome
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: outcome
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: /opencase/reporting/cases
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
||||||
|
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: asylum_status
|
||||||
|
name: 'Asylum status'
|
||||||
|
url_alias: asylum_status
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_asylum_status
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: asylum_status_export
|
||||||
|
name: 'Asylum status'
|
||||||
|
url_alias: asylum_status
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_asylum_status
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,67 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: created
|
||||||
|
name: Created
|
||||||
|
url_alias: created
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: created
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -8
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -9
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
date_item:
|
||||||
|
processor_id: date_item
|
||||||
|
weights:
|
||||||
|
build: 35
|
||||||
|
settings:
|
||||||
|
date_display: actual_date
|
||||||
|
granularity: 5
|
||||||
|
date_format: ''
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -10
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,67 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
module:
|
||||||
|
- views_data_export
|
||||||
|
id: created_export
|
||||||
|
name: 'Created - Export'
|
||||||
|
url_alias: created
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: created
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 20
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 30
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
date_item:
|
||||||
|
processor_id: date_item
|
||||||
|
weights:
|
||||||
|
build: 35
|
||||||
|
settings:
|
||||||
|
date_display: actual_date
|
||||||
|
granularity: 5
|
||||||
|
date_format: ''
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
||||||
|
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: disability
|
||||||
|
name: 'Disability'
|
||||||
|
url_alias: disability
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_disability
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: disability_export
|
||||||
|
name: 'Disability'
|
||||||
|
url_alias: disability
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_disability
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: gender_identified_with
|
||||||
|
name: 'Gender Identity'
|
||||||
|
url_alias: gender_identified_with
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_gender_identified_with
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: gender_identified_with_export
|
||||||
|
name: 'Gender Identity'
|
||||||
|
url_alias: gender_identified_with
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_gender_identified_with
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,62 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_cases
|
||||||
|
- views.view.reporting_cases
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: involved_parties
|
||||||
|
name: 'Involved Parties'
|
||||||
|
url_alias: involved_parties
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: actors_involved
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
show_reset_link: false
|
||||||
|
reset_text: 'Show all'
|
||||||
|
hide_reset_when_no_selection: false
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
exclude_specified_items:
|
||||||
|
processor_id: exclude_specified_items
|
||||||
|
weights:
|
||||||
|
build: 50
|
||||||
|
settings:
|
||||||
|
exclude: client
|
||||||
|
regex: true
|
||||||
|
translate_entity:
|
||||||
|
processor_id: translate_entity
|
||||||
|
weights:
|
||||||
|
build: 5
|
||||||
|
settings: { }
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,55 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_cases
|
||||||
|
- views.view.reporting_cases
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: involved_parties_export
|
||||||
|
name: 'Involved Parties (Export)'
|
||||||
|
url_alias: involved_parties
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: actors_involved
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
show_reset_link: false
|
||||||
|
reset_text: 'Show all'
|
||||||
|
hide_reset_when_no_selection: false
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
translate_entity:
|
||||||
|
processor_id: translate_entity
|
||||||
|
weights:
|
||||||
|
build: 5
|
||||||
|
settings: { }
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: languages
|
||||||
|
name: 'Languages'
|
||||||
|
url_alias: languages
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_languages_spoken
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: languages_export
|
||||||
|
name: 'Languages'
|
||||||
|
url_alias: languages
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_languages_spoken
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
- views.view.reporting_clients
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: nationalities
|
||||||
|
name: Nationalities
|
||||||
|
url_alias: nationalities
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_nationalities
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,58 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
module:
|
||||||
|
- views_data_export
|
||||||
|
id: nationalities_export
|
||||||
|
name: Nationalities-export
|
||||||
|
url_alias: nationalities_export
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_nationalities
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: links
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 20
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 30
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,47 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_volunteers
|
||||||
|
- views.view.reporting_volunteers
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: osic_level
|
||||||
|
name: 'OSIC level'
|
||||||
|
url_alias: osic_level
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_osic_level
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_volunteers__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,58 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_volunteers
|
||||||
|
module:
|
||||||
|
- views_data_export
|
||||||
|
id: osic_level_export
|
||||||
|
name: 'OSIC level Export'
|
||||||
|
url_alias: osic_level
|
||||||
|
weight: 0
|
||||||
|
min_count: 1
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_osic_level
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_volunteers__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: links
|
||||||
|
config:
|
||||||
|
show_numbers: false
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 20
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 30
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,52 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_cases
|
||||||
|
- views.view.reporting_cases
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: outcome
|
||||||
|
name: Outcome
|
||||||
|
url_alias: outcome
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_outcome
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
show_reset_link: false
|
||||||
|
reset_text: 'Show all'
|
||||||
|
hide_reset_when_no_selection: false
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: false
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: text
|
||||||
|
text_format: plain_text
|
||||||
|
text: ''
|
||||||
|
show_title: false
|
@ -0,0 +1,52 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_cases
|
||||||
|
- views.view.reporting_cases
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: outcome_export
|
||||||
|
name: Outcome (Export)
|
||||||
|
url_alias: outcome
|
||||||
|
weight: 0
|
||||||
|
min_count: 0
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: field_outcome
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
show_reset_link: false
|
||||||
|
reset_text: 'Show all'
|
||||||
|
hide_reset_when_no_selection: false
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: false
|
||||||
|
processor_configs:
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: text
|
||||||
|
text_format: plain_text
|
||||||
|
text: ''
|
||||||
|
show_title: false
|
@ -0,0 +1,482 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_case.field_outcome
|
||||||
|
- search_api.index.opencase_reporting_cases
|
||||||
|
module:
|
||||||
|
- csv_serialization
|
||||||
|
- options
|
||||||
|
- rest
|
||||||
|
- search_api
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
- views_data_export
|
||||||
|
id: reporting_cases
|
||||||
|
label: 'Reporting: Cases'
|
||||||
|
module: views
|
||||||
|
description: ''
|
||||||
|
tag: ''
|
||||||
|
base_table: search_api_index_opencase_reporting_cases
|
||||||
|
base_field: search_api_id
|
||||||
|
core: 8.x
|
||||||
|
display:
|
||||||
|
default:
|
||||||
|
display_plugin: default
|
||||||
|
id: default
|
||||||
|
display_title: Master
|
||||||
|
position: 0
|
||||||
|
display_options:
|
||||||
|
access:
|
||||||
|
type: perm
|
||||||
|
options:
|
||||||
|
perm: 'use opencase'
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
options: { }
|
||||||
|
query:
|
||||||
|
type: views_query
|
||||||
|
options:
|
||||||
|
bypass_access: false
|
||||||
|
skip_access: false
|
||||||
|
preserve_facet_query_args: false
|
||||||
|
exposed_form:
|
||||||
|
type: basic
|
||||||
|
options:
|
||||||
|
submit_button: Apply
|
||||||
|
reset_button: false
|
||||||
|
reset_button_label: Reset
|
||||||
|
exposed_sorts_label: 'Sort by'
|
||||||
|
expose_sort_order: true
|
||||||
|
sort_asc_label: Asc
|
||||||
|
sort_desc_label: Desc
|
||||||
|
pager:
|
||||||
|
type: mini
|
||||||
|
options:
|
||||||
|
items_per_page: 20
|
||||||
|
offset: 0
|
||||||
|
id: 0
|
||||||
|
total_pages: null
|
||||||
|
expose:
|
||||||
|
items_per_page: false
|
||||||
|
items_per_page_label: 'Items per page'
|
||||||
|
items_per_page_options: '5, 10, 25, 50'
|
||||||
|
items_per_page_options_all: false
|
||||||
|
items_per_page_options_all_label: '- All -'
|
||||||
|
offset: false
|
||||||
|
offset_label: Offset
|
||||||
|
tags:
|
||||||
|
previous: ‹‹
|
||||||
|
next: ››
|
||||||
|
style:
|
||||||
|
type: table
|
||||||
|
options:
|
||||||
|
grouping: { }
|
||||||
|
row_class: ''
|
||||||
|
default_row_class: true
|
||||||
|
override: true
|
||||||
|
sticky: false
|
||||||
|
caption: ''
|
||||||
|
summary: ''
|
||||||
|
description: ''
|
||||||
|
columns:
|
||||||
|
name: name
|
||||||
|
type: type
|
||||||
|
actors_involved: actors_involved
|
||||||
|
field_outcome: field_outcome
|
||||||
|
info:
|
||||||
|
name:
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
type:
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
actors_involved:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
field_outcome:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
default: '-1'
|
||||||
|
empty_table: false
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
id: name
|
||||||
|
table: search_api_datasource_opencase_reporting_cases_entity_oc_case
|
||||||
|
field: name
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: ''
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_case
|
||||||
|
plugin_id: search_api_field
|
||||||
|
type:
|
||||||
|
id: type
|
||||||
|
table: search_api_datasource_opencase_reporting_cases_entity_oc_case
|
||||||
|
field: type
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: ''
|
||||||
|
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: false
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api_entity
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
display_methods:
|
||||||
|
oc_case_type:
|
||||||
|
display_method: label
|
||||||
|
entity_type: oc_case
|
||||||
|
plugin_id: search_api_field
|
||||||
|
actors_involved:
|
||||||
|
table: search_api_index_opencase_reporting_cases
|
||||||
|
field: actors_involved
|
||||||
|
id: actors_involved
|
||||||
|
entity_type: null
|
||||||
|
entity_field: null
|
||||||
|
plugin_id: search_api_field
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: ''
|
||||||
|
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: { }
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api_entity
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
display_methods: { }
|
||||||
|
field_outcome:
|
||||||
|
id: field_outcome
|
||||||
|
table: search_api_index_opencase_reporting_cases
|
||||||
|
field: field_outcome
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: ''
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
filters: { }
|
||||||
|
sorts: { }
|
||||||
|
title: 'Reporting: Cases'
|
||||||
|
header: { }
|
||||||
|
footer: { }
|
||||||
|
empty: { }
|
||||||
|
relationships: { }
|
||||||
|
arguments: { }
|
||||||
|
display_extenders: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_case.field_outcome'
|
||||||
|
data_export_1:
|
||||||
|
display_plugin: data_export
|
||||||
|
id: data_export_1
|
||||||
|
display_title: 'Data export'
|
||||||
|
position: 2
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/cases
|
||||||
|
filename: '[view:title].csv'
|
||||||
|
displays:
|
||||||
|
page_1: page_1
|
||||||
|
default: '0'
|
||||||
|
style:
|
||||||
|
type: data_export
|
||||||
|
options:
|
||||||
|
formats:
|
||||||
|
csv: csv
|
||||||
|
csv_settings:
|
||||||
|
delimiter: ','
|
||||||
|
enclosure: '"'
|
||||||
|
escape_char: \
|
||||||
|
strip_tags: true
|
||||||
|
trim: true
|
||||||
|
encoding: utf8
|
||||||
|
xls_settings:
|
||||||
|
xls_format: Excel2007
|
||||||
|
metadata:
|
||||||
|
creator: ''
|
||||||
|
last_modified_by: ''
|
||||||
|
title: ''
|
||||||
|
description: ''
|
||||||
|
subject: ''
|
||||||
|
keywords: ''
|
||||||
|
category: ''
|
||||||
|
manager: ''
|
||||||
|
company: ''
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- request_format
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_case.field_outcome'
|
||||||
|
page_1:
|
||||||
|
display_plugin: page
|
||||||
|
id: page_1
|
||||||
|
display_title: Page
|
||||||
|
position: 1
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/cases
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_case.field_outcome'
|
@ -0,0 +1,682 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_asylum_status
|
||||||
|
- field.storage.oc_actor.field_disability
|
||||||
|
- field.storage.oc_actor.field_gender_identified_with
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
- field.storage.oc_actor.field_nationalities
|
||||||
|
- search_api.index.opencase_reporting_clients
|
||||||
|
module:
|
||||||
|
- csv_serialization
|
||||||
|
- options
|
||||||
|
- rest
|
||||||
|
- search_api
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
- views_data_export
|
||||||
|
id: reporting_clients
|
||||||
|
label: 'Reporting: Clients'
|
||||||
|
module: views
|
||||||
|
description: ''
|
||||||
|
tag: ''
|
||||||
|
base_table: search_api_index_opencase_reporting_clients
|
||||||
|
base_field: search_api_id
|
||||||
|
core: 8.x
|
||||||
|
display:
|
||||||
|
default:
|
||||||
|
display_plugin: default
|
||||||
|
id: default
|
||||||
|
display_title: Master
|
||||||
|
position: 0
|
||||||
|
display_options:
|
||||||
|
access:
|
||||||
|
type: perm
|
||||||
|
options:
|
||||||
|
perm: 'use opencase'
|
||||||
|
cache:
|
||||||
|
type: tag
|
||||||
|
options: { }
|
||||||
|
query:
|
||||||
|
type: views_query
|
||||||
|
options:
|
||||||
|
bypass_access: false
|
||||||
|
skip_access: false
|
||||||
|
exposed_form:
|
||||||
|
type: basic
|
||||||
|
options:
|
||||||
|
submit_button: Apply
|
||||||
|
reset_button: false
|
||||||
|
reset_button_label: Reset
|
||||||
|
exposed_sorts_label: 'Sort by'
|
||||||
|
expose_sort_order: true
|
||||||
|
sort_asc_label: Asc
|
||||||
|
sort_desc_label: Desc
|
||||||
|
pager:
|
||||||
|
type: mini
|
||||||
|
options:
|
||||||
|
items_per_page: 50
|
||||||
|
offset: 0
|
||||||
|
id: 0
|
||||||
|
total_pages: null
|
||||||
|
tags:
|
||||||
|
previous: ‹‹
|
||||||
|
next: ››
|
||||||
|
expose:
|
||||||
|
items_per_page: false
|
||||||
|
items_per_page_label: 'Items per page'
|
||||||
|
items_per_page_options: '5, 10, 25, 50'
|
||||||
|
items_per_page_options_all: false
|
||||||
|
items_per_page_options_all_label: '- All -'
|
||||||
|
offset: false
|
||||||
|
offset_label: Offset
|
||||||
|
style:
|
||||||
|
type: table
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
id: name
|
||||||
|
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
|
||||||
|
field: name
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Name
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_actor
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_asylum_status:
|
||||||
|
id: field_asylum_status
|
||||||
|
table: search_api_index_opencase_reporting_clients
|
||||||
|
field: field_asylum_status
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Asylum 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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: null
|
||||||
|
entity_field: null
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_disability:
|
||||||
|
id: field_disability
|
||||||
|
table: search_api_index_opencase_reporting_clients
|
||||||
|
field: field_disability
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Disability
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_gender_identified_with:
|
||||||
|
id: field_gender_identified_with
|
||||||
|
table: search_api_index_opencase_reporting_clients
|
||||||
|
field: field_gender_identified_with
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Gender ID'
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_nationalities:
|
||||||
|
id: field_nationalities
|
||||||
|
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
|
||||||
|
field: field_nationalities
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Nationality
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_actor
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_languages_spoken:
|
||||||
|
id: field_languages_spoken
|
||||||
|
table: search_api_index_opencase_reporting_clients
|
||||||
|
field: field_languages_spoken
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Languages
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
post_code:
|
||||||
|
id: post_code
|
||||||
|
table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
|
||||||
|
field: post_code
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Post Code'
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_actor
|
||||||
|
plugin_id: search_api_field
|
||||||
|
filters: { }
|
||||||
|
sorts: { }
|
||||||
|
title: 'Client Report'
|
||||||
|
header:
|
||||||
|
entity_block_content:
|
||||||
|
id: entity_block_content
|
||||||
|
table: views
|
||||||
|
field: entity_block_content
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
empty: false
|
||||||
|
tokenize: true
|
||||||
|
target: 944ff38d-5931-4439-91d5-f53b5ad7aac7
|
||||||
|
view_mode: default
|
||||||
|
bypass_access: false
|
||||||
|
plugin_id: entity
|
||||||
|
footer: { }
|
||||||
|
empty: { }
|
||||||
|
relationships: { }
|
||||||
|
arguments: { }
|
||||||
|
display_extenders: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_asylum_status'
|
||||||
|
- 'config:field.storage.oc_actor.field_disability'
|
||||||
|
- 'config:field.storage.oc_actor.field_gender_identified_with'
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_nationalities'
|
||||||
|
data_export_1:
|
||||||
|
display_plugin: data_export
|
||||||
|
id: data_export_1
|
||||||
|
display_title: 'Data export'
|
||||||
|
position: 2
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/clients
|
||||||
|
filename: '[view:title].csv'
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
displays:
|
||||||
|
page_1: page_1
|
||||||
|
default: '0'
|
||||||
|
style:
|
||||||
|
type: data_export
|
||||||
|
options:
|
||||||
|
formats:
|
||||||
|
csv: csv
|
||||||
|
csv_settings:
|
||||||
|
delimiter: ','
|
||||||
|
enclosure: '"'
|
||||||
|
escape_char: \
|
||||||
|
strip_tags: true
|
||||||
|
trim: true
|
||||||
|
encoding: utf8
|
||||||
|
xls_settings:
|
||||||
|
xls_format: Excel2007
|
||||||
|
metadata:
|
||||||
|
creator: ''
|
||||||
|
last_modified_by: ''
|
||||||
|
title: ''
|
||||||
|
description: ''
|
||||||
|
subject: ''
|
||||||
|
keywords: ''
|
||||||
|
category: ''
|
||||||
|
manager: ''
|
||||||
|
company: ''
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- request_format
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_asylum_status'
|
||||||
|
- 'config:field.storage.oc_actor.field_disability'
|
||||||
|
- 'config:field.storage.oc_actor.field_gender_identified_with'
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_nationalities'
|
||||||
|
page_1:
|
||||||
|
display_plugin: page
|
||||||
|
id: page_1
|
||||||
|
display_title: Page
|
||||||
|
position: 1
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/clients
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_asylum_status'
|
||||||
|
- 'config:field.storage.oc_actor.field_disability'
|
||||||
|
- 'config:field.storage.oc_actor.field_gender_identified_with'
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_nationalities'
|
@ -0,0 +1,395 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
- field.storage.oc_actor.field_osic_level
|
||||||
|
- search_api.index.opencase_reporting_volunteers
|
||||||
|
module:
|
||||||
|
- csv_serialization
|
||||||
|
- options
|
||||||
|
- rest
|
||||||
|
- search_api
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
- views_data_export
|
||||||
|
id: reporting_volunteers
|
||||||
|
label: 'Reporting: Volunteers'
|
||||||
|
module: views
|
||||||
|
description: ''
|
||||||
|
tag: ''
|
||||||
|
base_table: search_api_index_opencase_reporting_volunteers
|
||||||
|
base_field: search_api_id
|
||||||
|
core: 8.x
|
||||||
|
display:
|
||||||
|
default:
|
||||||
|
display_plugin: default
|
||||||
|
id: default
|
||||||
|
display_title: Master
|
||||||
|
position: 0
|
||||||
|
display_options:
|
||||||
|
access:
|
||||||
|
type: perm
|
||||||
|
options:
|
||||||
|
perm: 'use opencase'
|
||||||
|
cache:
|
||||||
|
type: tag
|
||||||
|
options: { }
|
||||||
|
query:
|
||||||
|
type: views_query
|
||||||
|
options:
|
||||||
|
bypass_access: false
|
||||||
|
skip_access: false
|
||||||
|
exposed_form:
|
||||||
|
type: basic
|
||||||
|
options:
|
||||||
|
submit_button: Apply
|
||||||
|
reset_button: false
|
||||||
|
reset_button_label: Reset
|
||||||
|
exposed_sorts_label: 'Sort by'
|
||||||
|
expose_sort_order: true
|
||||||
|
sort_asc_label: Asc
|
||||||
|
sort_desc_label: Desc
|
||||||
|
pager:
|
||||||
|
type: mini
|
||||||
|
options:
|
||||||
|
items_per_page: 50
|
||||||
|
offset: 0
|
||||||
|
id: 0
|
||||||
|
total_pages: null
|
||||||
|
expose:
|
||||||
|
items_per_page: false
|
||||||
|
items_per_page_label: 'Items per page'
|
||||||
|
items_per_page_options: '5, 10, 25, 50'
|
||||||
|
items_per_page_options_all: false
|
||||||
|
items_per_page_options_all_label: '- All -'
|
||||||
|
offset: false
|
||||||
|
offset_label: Offset
|
||||||
|
tags:
|
||||||
|
previous: ‹‹
|
||||||
|
next: ››
|
||||||
|
style:
|
||||||
|
type: table
|
||||||
|
options:
|
||||||
|
grouping: { }
|
||||||
|
row_class: ''
|
||||||
|
default_row_class: true
|
||||||
|
override: true
|
||||||
|
sticky: false
|
||||||
|
caption: ''
|
||||||
|
summary: ''
|
||||||
|
description: ''
|
||||||
|
columns:
|
||||||
|
field_languages_spoken: field_languages_spoken
|
||||||
|
info:
|
||||||
|
field_languages_spoken:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
default: '-1'
|
||||||
|
empty_table: false
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
name:
|
||||||
|
id: name
|
||||||
|
table: search_api_index_opencase_reporting_volunteers
|
||||||
|
field: name
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Name
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_languages_spoken_1:
|
||||||
|
id: field_languages_spoken_1
|
||||||
|
table: search_api_index_opencase_reporting_volunteers
|
||||||
|
field: field_languages_spoken
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Languages spoken'
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
field_osic_level:
|
||||||
|
id: field_osic_level
|
||||||
|
table: search_api_index_opencase_reporting_volunteers
|
||||||
|
field: field_osic_level
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'OSIC level'
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
plugin_id: search_api_field
|
||||||
|
filters: { }
|
||||||
|
sorts: { }
|
||||||
|
title: 'Volunteer Report'
|
||||||
|
header: { }
|
||||||
|
footer: { }
|
||||||
|
empty: { }
|
||||||
|
relationships: { }
|
||||||
|
arguments: { }
|
||||||
|
display_extenders: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_osic_level'
|
||||||
|
data_export_1:
|
||||||
|
display_plugin: data_export
|
||||||
|
id: data_export_1
|
||||||
|
display_title: 'Data export'
|
||||||
|
position: 2
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/volunteers
|
||||||
|
filename: '[view:title].csv'
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
displays:
|
||||||
|
page_1: page_1
|
||||||
|
default: '0'
|
||||||
|
style:
|
||||||
|
type: data_export
|
||||||
|
options:
|
||||||
|
formats:
|
||||||
|
csv: csv
|
||||||
|
csv_settings:
|
||||||
|
delimiter: ','
|
||||||
|
enclosure: '"'
|
||||||
|
escape_char: \
|
||||||
|
strip_tags: true
|
||||||
|
trim: true
|
||||||
|
encoding: utf8
|
||||||
|
xls_settings:
|
||||||
|
xls_format: Excel2007
|
||||||
|
metadata:
|
||||||
|
creator: ''
|
||||||
|
last_modified_by: ''
|
||||||
|
title: ''
|
||||||
|
description: ''
|
||||||
|
subject: ''
|
||||||
|
keywords: ''
|
||||||
|
category: ''
|
||||||
|
manager: ''
|
||||||
|
company: ''
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- request_format
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_osic_level'
|
||||||
|
page_1:
|
||||||
|
display_plugin: page
|
||||||
|
id: page_1
|
||||||
|
display_title: Page
|
||||||
|
position: 1
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/volunteers
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.oc_actor.field_languages_spoken'
|
||||||
|
- 'config:field.storage.oc_actor.field_osic_level'
|
@ -0,0 +1,57 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- search_api
|
||||||
|
config:
|
||||||
|
- field.storage.oc_case.field_outcome
|
||||||
|
- search_api.server.opencase_reporting_server
|
||||||
|
id: opencase_reporting_cases
|
||||||
|
name: 'OpenCase Reporting: Cases'
|
||||||
|
description: ''
|
||||||
|
read_only: false
|
||||||
|
field_settings:
|
||||||
|
actors_involved:
|
||||||
|
label: 'Involved Parties'
|
||||||
|
datasource_id: 'entity:oc_case'
|
||||||
|
property_path: actors_involved
|
||||||
|
type: integer
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
created:
|
||||||
|
label: Created
|
||||||
|
datasource_id: 'entity:oc_case'
|
||||||
|
property_path: created
|
||||||
|
type: date
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
field_outcome:
|
||||||
|
label: Outcome
|
||||||
|
datasource_id: 'entity:oc_case'
|
||||||
|
property_path: field_outcome
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_case.field_outcome
|
||||||
|
datasource_settings:
|
||||||
|
'entity:oc_case':
|
||||||
|
bundles:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
languages:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
processor_settings:
|
||||||
|
add_url: { }
|
||||||
|
aggregated_field: { }
|
||||||
|
rendered_item: { }
|
||||||
|
tracker_settings:
|
||||||
|
default:
|
||||||
|
indexing_order: fifo
|
||||||
|
options:
|
||||||
|
index_directly: true
|
||||||
|
cron_limit: 50
|
||||||
|
server: opencase_reporting_server
|
@ -0,0 +1,110 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_asylum_status
|
||||||
|
- field.storage.oc_actor.field_disability
|
||||||
|
- field.storage.oc_actor.field_gender_identified_with
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
- field.storage.oc_actor.field_nationalities
|
||||||
|
- search_api.server.opencase_reporting_server
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- search_api
|
||||||
|
id: opencase_reporting_clients
|
||||||
|
name: 'OpenCase Reporting: Clients'
|
||||||
|
description: ''
|
||||||
|
read_only: false
|
||||||
|
field_settings:
|
||||||
|
created:
|
||||||
|
label: Created
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: created
|
||||||
|
type: date
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
field_asylum_status:
|
||||||
|
label: 'Asylum status'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_asylum_status
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_asylum_status
|
||||||
|
field_disability:
|
||||||
|
label: Disability
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_disability
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_disability
|
||||||
|
field_gender_identified_with:
|
||||||
|
label: 'Gender identified with'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_gender_identified_with
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_gender_identified_with
|
||||||
|
field_languages_spoken:
|
||||||
|
label: 'Languages spoken'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_languages_spoken
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
field_nationalities:
|
||||||
|
label: Nationality
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_nationalities
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_nationalities
|
||||||
|
first_name:
|
||||||
|
label: 'First Name'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: first_name
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
last_name:
|
||||||
|
label: 'Last Name'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: last_name
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
post_code:
|
||||||
|
label: 'Post Code'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: post_code
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
datasource_settings:
|
||||||
|
'entity:oc_actor':
|
||||||
|
bundles:
|
||||||
|
default: false
|
||||||
|
selected:
|
||||||
|
- client
|
||||||
|
languages:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
processor_settings:
|
||||||
|
add_url: { }
|
||||||
|
aggregated_field: { }
|
||||||
|
rendered_item: { }
|
||||||
|
tracker_settings:
|
||||||
|
default:
|
||||||
|
indexing_order: fifo
|
||||||
|
options:
|
||||||
|
index_directly: true
|
||||||
|
cron_limit: 50
|
||||||
|
server: opencase_reporting_server
|
@ -0,0 +1,59 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
- field.storage.oc_actor.field_osic_level
|
||||||
|
- search_api.server.opencase_reporting_server
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- search_api
|
||||||
|
id: opencase_reporting_volunteers
|
||||||
|
name: 'OpenCase Reporting: Volunteers'
|
||||||
|
description: ''
|
||||||
|
read_only: false
|
||||||
|
field_settings:
|
||||||
|
field_languages_spoken:
|
||||||
|
label: 'Languages spoken'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_languages_spoken
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_languages_spoken
|
||||||
|
field_osic_level:
|
||||||
|
label: 'OSIC level'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: field_osic_level
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_osic_level
|
||||||
|
name:
|
||||||
|
label: Name
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: name
|
||||||
|
type: string
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
datasource_settings:
|
||||||
|
'entity:oc_actor':
|
||||||
|
bundles:
|
||||||
|
default: false
|
||||||
|
selected:
|
||||||
|
- volunteer
|
||||||
|
languages:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
processor_settings:
|
||||||
|
add_url: { }
|
||||||
|
aggregated_field: { }
|
||||||
|
rendered_item: { }
|
||||||
|
tracker_settings:
|
||||||
|
default:
|
||||||
|
indexing_order: fifo
|
||||||
|
options:
|
||||||
|
index_directly: true
|
||||||
|
cron_limit: 50
|
||||||
|
server: opencase_reporting_server
|
@ -0,0 +1,8 @@
|
|||||||
|
name: 'Opencase example reporting'
|
||||||
|
type: module
|
||||||
|
description: 'Reporting on the types of people, cases etc that the Opencase Defaults module provides'
|
||||||
|
core: 8.x
|
||||||
|
package: 'OpenCase'
|
||||||
|
dependencies:
|
||||||
|
- opencase_defaults
|
||||||
|
- opencase_reporting
|
@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
function opencase_default_reporting_uninstall() {
|
||||||
|
$configs = [
|
||||||
|
// 'search_api.index.opencase_reporting_cases',
|
||||||
|
// 'search_api.index.opencase_reporting_clients',
|
||||||
|
// 'search_api.index.opencase_reporting_volunteers',
|
||||||
|
'block.block.facet_asylum_status',
|
||||||
|
'block.block.facet_created',
|
||||||
|
'block.block.facet_disability',
|
||||||
|
'block.block.facet_gender_identified_with',
|
||||||
|
'block.block.facet_languages',
|
||||||
|
'block.block.nationalities',
|
||||||
|
'block.block.osiclevel',
|
||||||
|
'block.block.outcome',
|
||||||
|
'block.block.involvedparties',
|
||||||
|
'views.view.reporting_clients',
|
||||||
|
'views.view.reporting_volunteers',
|
||||||
|
'views.view.reporting_cases',
|
||||||
|
'facets.facet.asylum_status_export',
|
||||||
|
'facets.facet.disability',
|
||||||
|
'facets.facet.nationalities_export',
|
||||||
|
'facets.facet.asylum_status',
|
||||||
|
'facets.facet.gender_identified_with_export',
|
||||||
|
'facets.facet.nationalities',
|
||||||
|
'facets.facet.created_export',
|
||||||
|
'facets.facet.gender_identified_with',
|
||||||
|
'facets.facet.osic_level_export',
|
||||||
|
'facets.facet.created',
|
||||||
|
'facets.facet.languages_export',
|
||||||
|
'facets.facet.osic_level',
|
||||||
|
'facets.facet.disability_export',
|
||||||
|
'facets.facet.languages',
|
||||||
|
'facets.facet.outcome',
|
||||||
|
'facets.facet.outcome_export',
|
||||||
|
'facets.facet.involved_parties',
|
||||||
|
'facets.facet.involved_parties_export',
|
||||||
|
];
|
||||||
|
foreach($configs as $config) {
|
||||||
|
Drupal::configFactory()->getEditable($config)->delete();
|
||||||
|
}
|
||||||
|
}
|
@ -1,31 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies:
|
|
||||||
config:
|
|
||||||
- system.menu.opencase-add-actors
|
|
||||||
module:
|
|
||||||
- system
|
|
||||||
- user
|
|
||||||
theme:
|
|
||||||
- bartik
|
|
||||||
id: opencaseaddactors
|
|
||||||
theme: bartik
|
|
||||||
region: sidebar_first
|
|
||||||
weight: -8
|
|
||||||
provider: null
|
|
||||||
plugin: 'system_menu_block:opencase-add-actors'
|
|
||||||
settings:
|
|
||||||
id: 'system_menu_block:opencase-add-actors'
|
|
||||||
label: 'Add Records'
|
|
||||||
provider: system
|
|
||||||
label_display: visible
|
|
||||||
level: 1
|
|
||||||
depth: 0
|
|
||||||
visibility:
|
|
||||||
user_role:
|
|
||||||
id: user_role
|
|
||||||
roles:
|
|
||||||
authenticated: authenticated
|
|
||||||
negate: false
|
|
||||||
context_mapping:
|
|
||||||
user: '@user.current_user_context:current_user'
|
|
@ -13,8 +13,9 @@ dependencies:
|
|||||||
- field.field.oc_actor.client.field_income
|
- field.field.oc_actor.client.field_income
|
||||||
- field.field.oc_actor.client.field_languages_spoken
|
- field.field.oc_actor.client.field_languages_spoken
|
||||||
- field.field.oc_actor.client.field_marital_
|
- field.field.oc_actor.client.field_marital_
|
||||||
- field.field.oc_actor.client.field_nationality
|
- field.field.oc_actor.client.field_nationalities
|
||||||
- field.field.oc_actor.client.field_referred_by
|
- field.field.oc_actor.client.field_referred_by
|
||||||
|
- field.field.oc_actor.client.field_sex
|
||||||
- opencase_entities.oc_actor_type.client
|
- opencase_entities.oc_actor_type.client
|
||||||
module:
|
module:
|
||||||
- datetime
|
- datetime
|
||||||
@ -25,7 +26,7 @@ bundle: client
|
|||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_asylum_status:
|
field_asylum_status:
|
||||||
weight: 6
|
weight: 4
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
@ -39,27 +40,19 @@ content:
|
|||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_confidentiality_form:
|
field_confidentiality_form:
|
||||||
weight: 15
|
weight: 13
|
||||||
settings:
|
settings:
|
||||||
progress_indicator: throbber
|
progress_indicator: throbber
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: file_generic
|
type: file_generic
|
||||||
region: content
|
region: content
|
||||||
field_date_of_birth:
|
field_date_of_birth:
|
||||||
weight: 3
|
weight: 0
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_dependants:
|
field_dependants:
|
||||||
weight: 12
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
type: string_textfield
|
|
||||||
region: content
|
|
||||||
field_disability:
|
|
||||||
weight: 10
|
weight: 10
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
@ -67,45 +60,7 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_ethnic_o:
|
field_disability:
|
||||||
weight: 7
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
type: string_textfield
|
|
||||||
region: content
|
|
||||||
field_gender_identified_with:
|
|
||||||
weight: 4
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_how_heard:
|
|
||||||
weight: 13
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_income:
|
|
||||||
weight: 11
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_languages_spoken:
|
|
||||||
weight: 9
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_marital_:
|
|
||||||
weight: 5
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_nationality:
|
|
||||||
weight: 8
|
weight: 8
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
@ -113,14 +68,64 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_referred_by:
|
field_ethnic_o:
|
||||||
weight: 14
|
weight: 5
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
|
field_gender_identified_with:
|
||||||
|
weight: 1
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
|
field_how_heard:
|
||||||
|
weight: 11
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
|
field_income:
|
||||||
|
weight: 9
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
|
field_languages_spoken:
|
||||||
|
weight: 7
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
|
field_marital_:
|
||||||
|
weight: 3
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
|
field_nationalities:
|
||||||
|
type: options_select
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
field_referred_by:
|
||||||
|
weight: 12
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string_textfield
|
||||||
|
region: content
|
||||||
|
field_sex:
|
||||||
|
weight: 2
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
name:
|
name:
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
weight: -4
|
weight: -4
|
||||||
@ -129,30 +134,6 @@ content:
|
|||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
phone:
|
|
||||||
type: string_textfield
|
|
||||||
weight: 0
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
phone2:
|
|
||||||
type: string_textfield
|
|
||||||
weight: 1
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
postal_address:
|
|
||||||
type: string_textarea
|
|
||||||
weight: 2
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
rows: 5
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
user_id:
|
user_id:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 5
|
weight: 5
|
||||||
|
@ -3,8 +3,9 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_actor.volunteer.field_languages_spoken
|
- field.field.oc_actor.volunteer.field_languages_spoken
|
||||||
- field.field.oc_actor.volunteer.field_nationality
|
- field.field.oc_actor.volunteer.field_nationalities
|
||||||
- field.field.oc_actor.volunteer.field_osic_level
|
- field.field.oc_actor.volunteer.field_osic_level
|
||||||
|
- field.field.oc_actor.volunteer.field_skills
|
||||||
- opencase_entities.oc_actor_type.volunteer
|
- opencase_entities.oc_actor_type.volunteer
|
||||||
id: oc_actor.volunteer.default
|
id: oc_actor.volunteer.default
|
||||||
targetEntityType: oc_actor
|
targetEntityType: oc_actor
|
||||||
@ -12,13 +13,13 @@ bundle: volunteer
|
|||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_languages_spoken:
|
field_languages_spoken:
|
||||||
weight: 28
|
weight: 1
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_nationality:
|
field_nationalities:
|
||||||
weight: 27
|
weight: 0
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
@ -26,58 +27,17 @@ content:
|
|||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_osic_level:
|
field_osic_level:
|
||||||
weight: 29
|
weight: 2
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_sdfdsfds:
|
field_skills:
|
||||||
weight: 26
|
type: string_textarea
|
||||||
settings:
|
|
||||||
rows: 5
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
type: text_textarea
|
|
||||||
region: content
|
|
||||||
name:
|
|
||||||
type: string_textfield
|
|
||||||
weight: -4
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
phone:
|
|
||||||
type: string_textfield
|
|
||||||
weight: 2
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
phone2:
|
|
||||||
type: string_textfield
|
|
||||||
weight: 3
|
weight: 3
|
||||||
region: content
|
region: content
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
postal_address:
|
|
||||||
type: string_textarea
|
|
||||||
weight: 5
|
|
||||||
region: content
|
|
||||||
settings:
|
settings:
|
||||||
rows: 5
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
user_id:
|
|
||||||
type: entity_reference_autocomplete
|
|
||||||
weight: 5
|
|
||||||
settings:
|
|
||||||
match_operator: CONTAINS
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
region: content
|
|
||||||
third_party_settings: { }
|
|
||||||
hidden: { }
|
hidden: { }
|
||||||
|
@ -13,7 +13,7 @@ dependencies:
|
|||||||
- field.field.oc_actor.client.field_income
|
- field.field.oc_actor.client.field_income
|
||||||
- field.field.oc_actor.client.field_languages_spoken
|
- field.field.oc_actor.client.field_languages_spoken
|
||||||
- field.field.oc_actor.client.field_marital_
|
- field.field.oc_actor.client.field_marital_
|
||||||
- field.field.oc_actor.client.field_nationality
|
- field.field.oc_actor.client.field_nationalities
|
||||||
- field.field.oc_actor.client.field_referred_by
|
- field.field.oc_actor.client.field_referred_by
|
||||||
- opencase_entities.oc_actor_type.client
|
- opencase_entities.oc_actor_type.client
|
||||||
module:
|
module:
|
||||||
@ -53,8 +53,8 @@ content:
|
|||||||
weight: 3
|
weight: 3
|
||||||
label: above
|
label: above
|
||||||
settings:
|
settings:
|
||||||
format_type: medium
|
|
||||||
timezone_override: ''
|
timezone_override: ''
|
||||||
|
format_type: short
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
@ -117,7 +117,7 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: list_default
|
type: list_default
|
||||||
region: content
|
region: content
|
||||||
field_nationality:
|
field_nationalities:
|
||||||
weight: 8
|
weight: 8
|
||||||
label: above
|
label: above
|
||||||
settings:
|
settings:
|
||||||
@ -141,27 +141,4 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
phone:
|
|
||||||
label: above
|
|
||||||
type: string
|
|
||||||
weight: 0
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
link_to_entity: false
|
|
||||||
third_party_settings: { }
|
|
||||||
phone2:
|
|
||||||
label: above
|
|
||||||
type: string
|
|
||||||
weight: 1
|
|
||||||
region: content
|
|
||||||
settings:
|
|
||||||
link_to_entity: false
|
|
||||||
third_party_settings: { }
|
|
||||||
postal_address:
|
|
||||||
label: above
|
|
||||||
type: basic_string
|
|
||||||
weight: 2
|
|
||||||
region: content
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
hidden: { }
|
hidden: { }
|
||||||
|
@ -3,8 +3,9 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_actor.volunteer.field_languages_spoken
|
- field.field.oc_actor.volunteer.field_languages_spoken
|
||||||
- field.field.oc_actor.volunteer.field_nationality
|
- field.field.oc_actor.volunteer.field_nationalities
|
||||||
- field.field.oc_actor.volunteer.field_osic_level
|
- field.field.oc_actor.volunteer.field_osic_level
|
||||||
|
- field.field.oc_actor.volunteer.field_skills
|
||||||
- opencase_entities.oc_actor_type.volunteer
|
- opencase_entities.oc_actor_type.volunteer
|
||||||
module:
|
module:
|
||||||
- options
|
- options
|
||||||
@ -15,14 +16,14 @@ bundle: volunteer
|
|||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_languages_spoken:
|
field_languages_spoken:
|
||||||
weight: 8
|
weight: 4
|
||||||
label: above
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: list_default
|
type: list_default
|
||||||
region: content
|
region: content
|
||||||
field_nationality:
|
field_nationalities:
|
||||||
weight: 7
|
weight: 3
|
||||||
label: above
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
@ -30,7 +31,7 @@ content:
|
|||||||
type: string
|
type: string
|
||||||
region: content
|
region: content
|
||||||
field_osic_level:
|
field_osic_level:
|
||||||
weight: 9
|
weight: 5
|
||||||
label: above
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@ -43,6 +44,13 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: text_default
|
type: text_default
|
||||||
region: content
|
region: content
|
||||||
|
field_skills:
|
||||||
|
type: basic_string
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
name:
|
name:
|
||||||
label: above
|
label: above
|
||||||
type: string
|
type: string
|
||||||
@ -54,7 +62,7 @@ content:
|
|||||||
phone:
|
phone:
|
||||||
label: above
|
label: above
|
||||||
type: string
|
type: string
|
||||||
weight: 2
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
@ -62,7 +70,7 @@ content:
|
|||||||
phone2:
|
phone2:
|
||||||
label: above
|
label: above
|
||||||
type: string
|
type: string
|
||||||
weight: 3
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
@ -70,7 +78,7 @@ content:
|
|||||||
postal_address:
|
postal_address:
|
||||||
label: above
|
label: above
|
||||||
type: basic_string
|
type: basic_string
|
||||||
weight: 5
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_nationalities
|
||||||
|
- opencase_entities.oc_actor_type.client
|
||||||
|
module:
|
||||||
|
- options
|
||||||
|
id: oc_actor.client.field_nationalities
|
||||||
|
field_name: field_nationalities
|
||||||
|
entity_type: oc_actor
|
||||||
|
bundle: client
|
||||||
|
label: Nationality
|
||||||
|
description: 'To select multiple nationalities, hold down <b>Ctrl</b> (or the Mac equivalent) while clicking.'
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: list_string
|
@ -2,17 +2,19 @@ langcode: en
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.storage.oc_actor.field_nationality
|
- field.storage.oc_actor.field_sex
|
||||||
- opencase_entities.oc_actor_type.client
|
- opencase_entities.oc_actor_type.client
|
||||||
id: oc_actor.client.field_nationality
|
module:
|
||||||
field_name: field_nationality
|
- options
|
||||||
|
id: oc_actor.client.field_sex
|
||||||
|
field_name: field_sex
|
||||||
entity_type: oc_actor
|
entity_type: oc_actor
|
||||||
bundle: client
|
bundle: client
|
||||||
label: Nationality
|
label: Sex
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: false
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings: { }
|
settings: { }
|
||||||
field_type: string
|
field_type: list_string
|
@ -0,0 +1,20 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_nationalities
|
||||||
|
- opencase_entities.oc_actor_type.volunteer
|
||||||
|
module:
|
||||||
|
- options
|
||||||
|
id: oc_actor.volunteer.field_nationalities
|
||||||
|
field_name: field_nationalities
|
||||||
|
entity_type: oc_actor
|
||||||
|
bundle: volunteer
|
||||||
|
label: Nationality
|
||||||
|
description: 'To select multiple nationalities, hold down <b>Ctrl</b> (or the Mac equivalent) while clicking.'
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: list_string
|
@ -2,17 +2,17 @@ langcode: en
|
|||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.storage.oc_actor.field_nationality
|
- field.storage.oc_actor.field_skills
|
||||||
- opencase_entities.oc_actor_type.volunteer
|
- opencase_entities.oc_actor_type.volunteer
|
||||||
id: oc_actor.volunteer.field_nationality
|
id: oc_actor.volunteer.field_skills
|
||||||
field_name: field_nationality
|
field_name: field_skills
|
||||||
entity_type: oc_actor
|
entity_type: oc_actor
|
||||||
bundle: volunteer
|
bundle: volunteer
|
||||||
label: Nationality
|
label: Skills
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: true
|
translatable: false
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings: { }
|
settings: { }
|
||||||
field_type: string
|
field_type: string_long
|
@ -0,0 +1,611 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- options
|
||||||
|
id: oc_actor.field_nationalities
|
||||||
|
field_name: field_nationalities
|
||||||
|
entity_type: oc_actor
|
||||||
|
type: list_string
|
||||||
|
settings:
|
||||||
|
allowed_values:
|
||||||
|
-
|
||||||
|
value: Afghan
|
||||||
|
label: Afghan
|
||||||
|
-
|
||||||
|
value: Albanian
|
||||||
|
label: Albanian
|
||||||
|
-
|
||||||
|
value: Algerian
|
||||||
|
label: Algerian
|
||||||
|
-
|
||||||
|
value: American
|
||||||
|
label: American
|
||||||
|
-
|
||||||
|
value: Andorran
|
||||||
|
label: Andorran
|
||||||
|
-
|
||||||
|
value: Angolan
|
||||||
|
label: Angolan
|
||||||
|
-
|
||||||
|
value: Antiguans
|
||||||
|
label: Antiguans
|
||||||
|
-
|
||||||
|
value: Argentinean
|
||||||
|
label: Argentinean
|
||||||
|
-
|
||||||
|
value: Armenian
|
||||||
|
label: Armenian
|
||||||
|
-
|
||||||
|
value: Australian
|
||||||
|
label: Australian
|
||||||
|
-
|
||||||
|
value: Austrian
|
||||||
|
label: Austrian
|
||||||
|
-
|
||||||
|
value: Azerbaijani
|
||||||
|
label: Azerbaijani
|
||||||
|
-
|
||||||
|
value: Bahamian
|
||||||
|
label: Bahamian
|
||||||
|
-
|
||||||
|
value: Bahraini
|
||||||
|
label: Bahraini
|
||||||
|
-
|
||||||
|
value: Bangladeshi
|
||||||
|
label: Bangladeshi
|
||||||
|
-
|
||||||
|
value: Barbadian
|
||||||
|
label: Barbadian
|
||||||
|
-
|
||||||
|
value: Barbudans
|
||||||
|
label: Barbudans
|
||||||
|
-
|
||||||
|
value: Batswana
|
||||||
|
label: Batswana
|
||||||
|
-
|
||||||
|
value: Belarusian
|
||||||
|
label: Belarusian
|
||||||
|
-
|
||||||
|
value: Belgian
|
||||||
|
label: Belgian
|
||||||
|
-
|
||||||
|
value: Belizean
|
||||||
|
label: Belizean
|
||||||
|
-
|
||||||
|
value: Beninese
|
||||||
|
label: Beninese
|
||||||
|
-
|
||||||
|
value: Bhutanese
|
||||||
|
label: Bhutanese
|
||||||
|
-
|
||||||
|
value: Bolivian
|
||||||
|
label: Bolivian
|
||||||
|
-
|
||||||
|
value: Bosnian
|
||||||
|
label: Bosnian
|
||||||
|
-
|
||||||
|
value: Brazilian
|
||||||
|
label: Brazilian
|
||||||
|
-
|
||||||
|
value: British
|
||||||
|
label: British
|
||||||
|
-
|
||||||
|
value: Bruneian
|
||||||
|
label: Bruneian
|
||||||
|
-
|
||||||
|
value: Bulgarian
|
||||||
|
label: Bulgarian
|
||||||
|
-
|
||||||
|
value: Burkinabe
|
||||||
|
label: Burkinabe
|
||||||
|
-
|
||||||
|
value: Burmese
|
||||||
|
label: Burmese
|
||||||
|
-
|
||||||
|
value: Burundian
|
||||||
|
label: Burundian
|
||||||
|
-
|
||||||
|
value: Cambodian
|
||||||
|
label: Cambodian
|
||||||
|
-
|
||||||
|
value: Cameroonian
|
||||||
|
label: Cameroonian
|
||||||
|
-
|
||||||
|
value: Canadian
|
||||||
|
label: Canadian
|
||||||
|
-
|
||||||
|
value: 'Cape Verdean'
|
||||||
|
label: 'Cape Verdean'
|
||||||
|
-
|
||||||
|
value: 'Central African'
|
||||||
|
label: 'Central African'
|
||||||
|
-
|
||||||
|
value: Chadian
|
||||||
|
label: Chadian
|
||||||
|
-
|
||||||
|
value: Chilean
|
||||||
|
label: Chilean
|
||||||
|
-
|
||||||
|
value: Chinese
|
||||||
|
label: Chinese
|
||||||
|
-
|
||||||
|
value: Colombian
|
||||||
|
label: Colombian
|
||||||
|
-
|
||||||
|
value: Comoran
|
||||||
|
label: Comoran
|
||||||
|
-
|
||||||
|
value: Congolese
|
||||||
|
label: Congolese
|
||||||
|
-
|
||||||
|
value: 'Costa Rican'
|
||||||
|
label: 'Costa Rican'
|
||||||
|
-
|
||||||
|
value: Croatian
|
||||||
|
label: Croatian
|
||||||
|
-
|
||||||
|
value: Cuban
|
||||||
|
label: Cuban
|
||||||
|
-
|
||||||
|
value: Cypriot
|
||||||
|
label: Cypriot
|
||||||
|
-
|
||||||
|
value: Czech
|
||||||
|
label: Czech
|
||||||
|
-
|
||||||
|
value: Danish
|
||||||
|
label: Danish
|
||||||
|
-
|
||||||
|
value: Djibouti
|
||||||
|
label: Djibouti
|
||||||
|
-
|
||||||
|
value: Dominican
|
||||||
|
label: Dominican
|
||||||
|
-
|
||||||
|
value: Dutch
|
||||||
|
label: Dutch
|
||||||
|
-
|
||||||
|
value: Dutchman
|
||||||
|
label: Dutchman
|
||||||
|
-
|
||||||
|
value: Dutchwoman
|
||||||
|
label: Dutchwoman
|
||||||
|
-
|
||||||
|
value: 'East Timorese'
|
||||||
|
label: 'East Timorese'
|
||||||
|
-
|
||||||
|
value: Ecuadorean
|
||||||
|
label: Ecuadorean
|
||||||
|
-
|
||||||
|
value: Egyptian
|
||||||
|
label: Egyptian
|
||||||
|
-
|
||||||
|
value: Emirian
|
||||||
|
label: Emirian
|
||||||
|
-
|
||||||
|
value: 'Equatorial Guinean'
|
||||||
|
label: 'Equatorial Guinean'
|
||||||
|
-
|
||||||
|
value: Eritrean
|
||||||
|
label: Eritrean
|
||||||
|
-
|
||||||
|
value: Estonian
|
||||||
|
label: Estonian
|
||||||
|
-
|
||||||
|
value: Ethiopian
|
||||||
|
label: Ethiopian
|
||||||
|
-
|
||||||
|
value: Fijian
|
||||||
|
label: Fijian
|
||||||
|
-
|
||||||
|
value: Filipino
|
||||||
|
label: Filipino
|
||||||
|
-
|
||||||
|
value: Finnish
|
||||||
|
label: Finnish
|
||||||
|
-
|
||||||
|
value: French
|
||||||
|
label: French
|
||||||
|
-
|
||||||
|
value: Gabonese
|
||||||
|
label: Gabonese
|
||||||
|
-
|
||||||
|
value: Gambian
|
||||||
|
label: Gambian
|
||||||
|
-
|
||||||
|
value: Georgian
|
||||||
|
label: Georgian
|
||||||
|
-
|
||||||
|
value: German
|
||||||
|
label: German
|
||||||
|
-
|
||||||
|
value: Ghanaian
|
||||||
|
label: Ghanaian
|
||||||
|
-
|
||||||
|
value: Greek
|
||||||
|
label: Greek
|
||||||
|
-
|
||||||
|
value: Grenadian
|
||||||
|
label: Grenadian
|
||||||
|
-
|
||||||
|
value: Guatemalan
|
||||||
|
label: Guatemalan
|
||||||
|
-
|
||||||
|
value: Guinea-Bissauan
|
||||||
|
label: Guinea-Bissauan
|
||||||
|
-
|
||||||
|
value: Guinean
|
||||||
|
label: Guinean
|
||||||
|
-
|
||||||
|
value: Guyanese
|
||||||
|
label: Guyanese
|
||||||
|
-
|
||||||
|
value: Haitian
|
||||||
|
label: Haitian
|
||||||
|
-
|
||||||
|
value: Herzegovinian
|
||||||
|
label: Herzegovinian
|
||||||
|
-
|
||||||
|
value: Honduran
|
||||||
|
label: Honduran
|
||||||
|
-
|
||||||
|
value: Hungarian
|
||||||
|
label: Hungarian
|
||||||
|
-
|
||||||
|
value: I-Kiribati
|
||||||
|
label: I-Kiribati
|
||||||
|
-
|
||||||
|
value: Icelander
|
||||||
|
label: Icelander
|
||||||
|
-
|
||||||
|
value: Indian
|
||||||
|
label: Indian
|
||||||
|
-
|
||||||
|
value: Indonesian
|
||||||
|
label: Indonesian
|
||||||
|
-
|
||||||
|
value: Iranian
|
||||||
|
label: Iranian
|
||||||
|
-
|
||||||
|
value: Iraqi
|
||||||
|
label: Iraqi
|
||||||
|
-
|
||||||
|
value: Irish
|
||||||
|
label: Irish
|
||||||
|
-
|
||||||
|
value: Israeli
|
||||||
|
label: Israeli
|
||||||
|
-
|
||||||
|
value: Italian
|
||||||
|
label: Italian
|
||||||
|
-
|
||||||
|
value: Ivorian
|
||||||
|
label: Ivorian
|
||||||
|
-
|
||||||
|
value: Jamaican
|
||||||
|
label: Jamaican
|
||||||
|
-
|
||||||
|
value: Japanese
|
||||||
|
label: Japanese
|
||||||
|
-
|
||||||
|
value: Jordanian
|
||||||
|
label: Jordanian
|
||||||
|
-
|
||||||
|
value: Kazakhstani
|
||||||
|
label: Kazakhstani
|
||||||
|
-
|
||||||
|
value: Kenyan
|
||||||
|
label: Kenyan
|
||||||
|
-
|
||||||
|
value: 'Kittian and Nevisian'
|
||||||
|
label: 'Kittian and Nevisian'
|
||||||
|
-
|
||||||
|
value: Kuwaiti
|
||||||
|
label: Kuwaiti
|
||||||
|
-
|
||||||
|
value: Kyrgyz
|
||||||
|
label: Kyrgyz
|
||||||
|
-
|
||||||
|
value: Laotian
|
||||||
|
label: Laotian
|
||||||
|
-
|
||||||
|
value: Latvian
|
||||||
|
label: Latvian
|
||||||
|
-
|
||||||
|
value: Lebanese
|
||||||
|
label: Lebanese
|
||||||
|
-
|
||||||
|
value: Liberian
|
||||||
|
label: Liberian
|
||||||
|
-
|
||||||
|
value: Libyan
|
||||||
|
label: Libyan
|
||||||
|
-
|
||||||
|
value: Liechtensteiner
|
||||||
|
label: Liechtensteiner
|
||||||
|
-
|
||||||
|
value: Lithuanian
|
||||||
|
label: Lithuanian
|
||||||
|
-
|
||||||
|
value: Luxembourger
|
||||||
|
label: Luxembourger
|
||||||
|
-
|
||||||
|
value: Macedonian
|
||||||
|
label: Macedonian
|
||||||
|
-
|
||||||
|
value: Malagasy
|
||||||
|
label: Malagasy
|
||||||
|
-
|
||||||
|
value: Malawian
|
||||||
|
label: Malawian
|
||||||
|
-
|
||||||
|
value: Malaysian
|
||||||
|
label: Malaysian
|
||||||
|
-
|
||||||
|
value: Maldivan
|
||||||
|
label: Maldivan
|
||||||
|
-
|
||||||
|
value: Malian
|
||||||
|
label: Malian
|
||||||
|
-
|
||||||
|
value: Maltese
|
||||||
|
label: Maltese
|
||||||
|
-
|
||||||
|
value: Marshallese
|
||||||
|
label: Marshallese
|
||||||
|
-
|
||||||
|
value: Mauritanian
|
||||||
|
label: Mauritanian
|
||||||
|
-
|
||||||
|
value: Mauritian
|
||||||
|
label: Mauritian
|
||||||
|
-
|
||||||
|
value: Mexican
|
||||||
|
label: Mexican
|
||||||
|
-
|
||||||
|
value: Micronesian
|
||||||
|
label: Micronesian
|
||||||
|
-
|
||||||
|
value: Moldovan
|
||||||
|
label: Moldovan
|
||||||
|
-
|
||||||
|
value: Monacan
|
||||||
|
label: Monacan
|
||||||
|
-
|
||||||
|
value: Mongolian
|
||||||
|
label: Mongolian
|
||||||
|
-
|
||||||
|
value: Moroccan
|
||||||
|
label: Moroccan
|
||||||
|
-
|
||||||
|
value: Mosotho
|
||||||
|
label: Mosotho
|
||||||
|
-
|
||||||
|
value: Motswana
|
||||||
|
label: Motswana
|
||||||
|
-
|
||||||
|
value: Mozambican
|
||||||
|
label: Mozambican
|
||||||
|
-
|
||||||
|
value: Namibian
|
||||||
|
label: Namibian
|
||||||
|
-
|
||||||
|
value: Nauruan
|
||||||
|
label: Nauruan
|
||||||
|
-
|
||||||
|
value: Nepalese
|
||||||
|
label: Nepalese
|
||||||
|
-
|
||||||
|
value: Netherlander
|
||||||
|
label: Netherlander
|
||||||
|
-
|
||||||
|
value: 'New Zealander'
|
||||||
|
label: 'New Zealander'
|
||||||
|
-
|
||||||
|
value: Ni-Vanuatu
|
||||||
|
label: Ni-Vanuatu
|
||||||
|
-
|
||||||
|
value: Nicaraguan
|
||||||
|
label: Nicaraguan
|
||||||
|
-
|
||||||
|
value: Nigerian
|
||||||
|
label: Nigerian
|
||||||
|
-
|
||||||
|
value: Nigerien
|
||||||
|
label: Nigerien
|
||||||
|
-
|
||||||
|
value: 'North Korean'
|
||||||
|
label: 'North Korean'
|
||||||
|
-
|
||||||
|
value: 'Northern Irish'
|
||||||
|
label: 'Northern Irish'
|
||||||
|
-
|
||||||
|
value: Norwegian
|
||||||
|
label: Norwegian
|
||||||
|
-
|
||||||
|
value: Omani
|
||||||
|
label: Omani
|
||||||
|
-
|
||||||
|
value: Pakistani
|
||||||
|
label: Pakistani
|
||||||
|
-
|
||||||
|
value: Palauan
|
||||||
|
label: Palauan
|
||||||
|
-
|
||||||
|
value: Panamanian
|
||||||
|
label: Panamanian
|
||||||
|
-
|
||||||
|
value: 'Papua New Guinean'
|
||||||
|
label: 'Papua New Guinean'
|
||||||
|
-
|
||||||
|
value: Paraguayan
|
||||||
|
label: Paraguayan
|
||||||
|
-
|
||||||
|
value: Peruvian
|
||||||
|
label: Peruvian
|
||||||
|
-
|
||||||
|
value: Polish
|
||||||
|
label: Polish
|
||||||
|
-
|
||||||
|
value: Portuguese
|
||||||
|
label: Portuguese
|
||||||
|
-
|
||||||
|
value: Qatari
|
||||||
|
label: Qatari
|
||||||
|
-
|
||||||
|
value: Romanian
|
||||||
|
label: Romanian
|
||||||
|
-
|
||||||
|
value: Russian
|
||||||
|
label: Russian
|
||||||
|
-
|
||||||
|
value: Rwandan
|
||||||
|
label: Rwandan
|
||||||
|
-
|
||||||
|
value: 'Saint Lucian'
|
||||||
|
label: 'Saint Lucian'
|
||||||
|
-
|
||||||
|
value: Salvadoran
|
||||||
|
label: Salvadoran
|
||||||
|
-
|
||||||
|
value: Samoan
|
||||||
|
label: Samoan
|
||||||
|
-
|
||||||
|
value: 'San Marinese'
|
||||||
|
label: 'San Marinese'
|
||||||
|
-
|
||||||
|
value: 'Sao Tomean'
|
||||||
|
label: 'Sao Tomean'
|
||||||
|
-
|
||||||
|
value: Saudi
|
||||||
|
label: Saudi
|
||||||
|
-
|
||||||
|
value: Scottish
|
||||||
|
label: Scottish
|
||||||
|
-
|
||||||
|
value: Senegalese
|
||||||
|
label: Senegalese
|
||||||
|
-
|
||||||
|
value: Serbian
|
||||||
|
label: Serbian
|
||||||
|
-
|
||||||
|
value: Seychellois
|
||||||
|
label: Seychellois
|
||||||
|
-
|
||||||
|
value: 'Sierra Leonean'
|
||||||
|
label: 'Sierra Leonean'
|
||||||
|
-
|
||||||
|
value: Singaporean
|
||||||
|
label: Singaporean
|
||||||
|
-
|
||||||
|
value: Slovakian
|
||||||
|
label: Slovakian
|
||||||
|
-
|
||||||
|
value: Slovenian
|
||||||
|
label: Slovenian
|
||||||
|
-
|
||||||
|
value: 'Solomon Islander'
|
||||||
|
label: 'Solomon Islander'
|
||||||
|
-
|
||||||
|
value: Somali
|
||||||
|
label: Somali
|
||||||
|
-
|
||||||
|
value: 'South African'
|
||||||
|
label: 'South African'
|
||||||
|
-
|
||||||
|
value: 'South Korean'
|
||||||
|
label: 'South Korean'
|
||||||
|
-
|
||||||
|
value: Spanish
|
||||||
|
label: Spanish
|
||||||
|
-
|
||||||
|
value: 'Sri Lankan'
|
||||||
|
label: 'Sri Lankan'
|
||||||
|
-
|
||||||
|
value: Sudanese
|
||||||
|
label: Sudanese
|
||||||
|
-
|
||||||
|
value: Surinamer
|
||||||
|
label: Surinamer
|
||||||
|
-
|
||||||
|
value: Swazi
|
||||||
|
label: Swazi
|
||||||
|
-
|
||||||
|
value: Swedish
|
||||||
|
label: Swedish
|
||||||
|
-
|
||||||
|
value: Swiss
|
||||||
|
label: Swiss
|
||||||
|
-
|
||||||
|
value: Syrian
|
||||||
|
label: Syrian
|
||||||
|
-
|
||||||
|
value: Taiwanese
|
||||||
|
label: Taiwanese
|
||||||
|
-
|
||||||
|
value: Tajik
|
||||||
|
label: Tajik
|
||||||
|
-
|
||||||
|
value: Tanzanian
|
||||||
|
label: Tanzanian
|
||||||
|
-
|
||||||
|
value: Thai
|
||||||
|
label: Thai
|
||||||
|
-
|
||||||
|
value: Togolese
|
||||||
|
label: Togolese
|
||||||
|
-
|
||||||
|
value: Tongan
|
||||||
|
label: Tongan
|
||||||
|
-
|
||||||
|
value: 'Trinidadian or Tobagonian'
|
||||||
|
label: 'Trinidadian or Tobagonian'
|
||||||
|
-
|
||||||
|
value: Tunisian
|
||||||
|
label: Tunisian
|
||||||
|
-
|
||||||
|
value: Turkish
|
||||||
|
label: Turkish
|
||||||
|
-
|
||||||
|
value: Tuvaluan
|
||||||
|
label: Tuvaluan
|
||||||
|
-
|
||||||
|
value: Ugandan
|
||||||
|
label: Ugandan
|
||||||
|
-
|
||||||
|
value: Ukrainian
|
||||||
|
label: Ukrainian
|
||||||
|
-
|
||||||
|
value: Uruguayan
|
||||||
|
label: Uruguayan
|
||||||
|
-
|
||||||
|
value: Uzbekistani
|
||||||
|
label: Uzbekistani
|
||||||
|
-
|
||||||
|
value: Venezuelan
|
||||||
|
label: Venezuelan
|
||||||
|
-
|
||||||
|
value: Vietnamese
|
||||||
|
label: Vietnamese
|
||||||
|
-
|
||||||
|
value: Welsh
|
||||||
|
label: Welsh
|
||||||
|
-
|
||||||
|
value: Yemenite
|
||||||
|
label: Yemenite
|
||||||
|
-
|
||||||
|
value: Zambian
|
||||||
|
label: Zambian
|
||||||
|
-
|
||||||
|
value: Zimbabwean
|
||||||
|
label: Zimbabwean
|
||||||
|
allowed_values_function: ''
|
||||||
|
module: options
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
@ -0,0 +1,26 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- options
|
||||||
|
id: oc_actor.field_sex
|
||||||
|
field_name: field_sex
|
||||||
|
entity_type: oc_actor
|
||||||
|
type: list_string
|
||||||
|
settings:
|
||||||
|
allowed_values:
|
||||||
|
-
|
||||||
|
value: Male
|
||||||
|
label: Male
|
||||||
|
-
|
||||||
|
value: Female
|
||||||
|
label: Female
|
||||||
|
allowed_values_function: ''
|
||||||
|
module: options
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
@ -3,13 +3,11 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
module:
|
module:
|
||||||
- opencase_entities
|
- opencase_entities
|
||||||
id: oc_actor.field_nationality
|
id: oc_actor.field_skills
|
||||||
field_name: field_nationality
|
field_name: field_skills
|
||||||
entity_type: oc_actor
|
entity_type: oc_actor
|
||||||
type: string
|
type: string_long
|
||||||
settings:
|
settings:
|
||||||
max_length: 255
|
|
||||||
is_ascii: false
|
|
||||||
case_sensitive: false
|
case_sensitive: false
|
||||||
module: core
|
module: core
|
||||||
locked: false
|
locked: false
|
@ -0,0 +1,5 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: supervision
|
||||||
|
label: Supervision
|
@ -10,6 +10,7 @@ allowedActivityTypes:
|
|||||||
interview: interview
|
interview: interview
|
||||||
lete: lete
|
lete: lete
|
||||||
research: research
|
research: research
|
||||||
|
supervision: supervision
|
||||||
telephone_call: telephone_call
|
telephone_call: telephone_call
|
||||||
volunteer_training_session: volunteer_training_session
|
volunteer_training_session: volunteer_training_session
|
||||||
destitution_funds_provided: 0
|
destitution_funds_provided: 0
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: opencase-add-actors
|
|
||||||
label: 'OpenCase Add Actors'
|
|
||||||
description: ''
|
|
||||||
locked: false
|
|
@ -15,5 +15,6 @@ permissions:
|
|||||||
- 'edit activity entities'
|
- 'edit activity entities'
|
||||||
- 'edit case entities'
|
- 'edit case entities'
|
||||||
- 'edit client entities'
|
- 'edit client entities'
|
||||||
|
- 'use opencase'
|
||||||
- 'view own cases'
|
- 'view own cases'
|
||||||
- 'view published client entities'
|
- 'view published client entities'
|
||||||
|
@ -10,9 +10,14 @@ permissions:
|
|||||||
- 'add case entities'
|
- 'add case entities'
|
||||||
- 'add client entities'
|
- 'add client entities'
|
||||||
- 'add volunteer entities'
|
- 'add volunteer entities'
|
||||||
|
- 'administer oc_activity display'
|
||||||
- 'administer oc_activity fields'
|
- 'administer oc_activity fields'
|
||||||
|
- 'administer oc_activity form display'
|
||||||
|
- 'administer oc_actor display'
|
||||||
- 'administer oc_actor fields'
|
- 'administer oc_actor fields'
|
||||||
|
- 'administer oc_actor form display'
|
||||||
- 'administer oc_case fields'
|
- 'administer oc_case fields'
|
||||||
|
- 'administer oc_case form display'
|
||||||
- 'administer opencase entity bundles'
|
- 'administer opencase entity bundles'
|
||||||
- 'administer users'
|
- 'administer users'
|
||||||
- 'delete activity entities'
|
- 'delete activity entities'
|
||||||
@ -23,6 +28,7 @@ permissions:
|
|||||||
- 'edit case entities'
|
- 'edit case entities'
|
||||||
- 'edit client entities'
|
- 'edit client entities'
|
||||||
- 'edit volunteer entities'
|
- 'edit volunteer entities'
|
||||||
|
- 'use opencase'
|
||||||
- 'view published activity entities'
|
- 'view published activity entities'
|
||||||
- 'view published case entities'
|
- 'view published case entities'
|
||||||
- 'view published client entities'
|
- 'view published client entities'
|
||||||
|
@ -18,6 +18,7 @@ permissions:
|
|||||||
- 'edit case entities'
|
- 'edit case entities'
|
||||||
- 'edit client entities'
|
- 'edit client entities'
|
||||||
- 'edit volunteer entities'
|
- 'edit volunteer entities'
|
||||||
|
- 'use opencase'
|
||||||
- 'view published case entities'
|
- 'view published case entities'
|
||||||
- 'view published client entities'
|
- 'view published client entities'
|
||||||
- 'view published volunteer entities'
|
- 'view published volunteer entities'
|
||||||
|
@ -15,4 +15,5 @@ permissions:
|
|||||||
- 'edit activity entities'
|
- 'edit activity entities'
|
||||||
- 'edit case entities'
|
- 'edit case entities'
|
||||||
- 'edit volunteer entities'
|
- 'edit volunteer entities'
|
||||||
|
- 'use opencase'
|
||||||
- 'view published volunteer entities'
|
- 'view published volunteer entities'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: 'Opencase Example Configuration'
|
name: 'Opencase Example Configuration'
|
||||||
type: module
|
type: module
|
||||||
description: 'Actor types, case types, activity types and user roles suited to an asylum advice group'
|
description: 'Person types, case types, activity types and user roles suited to an asylum advice group'
|
||||||
core: 8.x
|
core: 8.x
|
||||||
package: 'OpenCase'
|
package: 'OpenCase'
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
opencase.add_volunteer:
|
opencase_defaults.report_on_clients:
|
||||||
title: 'Add a new volunteer'
|
title: 'Clients'
|
||||||
description: 'Create a new volunteer record'
|
description: 'Report on clients'
|
||||||
menu_name: opencase-add-actors
|
parent: opencase_reporting.reporting_menu
|
||||||
url: internal:/opencase/oc_actor/add/volunteer
|
url: internal:/opencase/reporting/clients
|
||||||
weight: 0
|
weight: 0
|
||||||
opencase.add_client:
|
opencase_defaults.report_on_volunteers:
|
||||||
title: 'Add a new client'
|
title: 'Volunteers'
|
||||||
description: 'Create a new client record'
|
description: 'Report on volunteers'
|
||||||
menu_name: opencase-add-actors
|
parent: opencase_reporting.reporting_menu
|
||||||
url: internal:/opencase/oc_actor/add/client
|
url: internal:/opencase/reporting/volunteers
|
||||||
weight: 1
|
weight: 1
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use Drupal\Core\Routing\RouteMatchInterface;
|
use Drupal\Core\Routing\RouteMatchInterface;
|
||||||
|
use Drupal\user\Entity\Role;
|
||||||
|
use Drupal\user\RoleInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements hook_help().
|
* Implements hook_help().
|
||||||
@ -33,3 +35,4 @@ function opencase_defaults_theme() {
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,15 +3,14 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.storage.user.field_linked_opencase_actor
|
- field.storage.user.field_linked_opencase_actor
|
||||||
- opencase_entities.oc_actor_type.volunteer
|
|
||||||
module:
|
module:
|
||||||
- user
|
- user
|
||||||
id: user.user.field_linked_opencase_actor
|
id: user.user.field_linked_opencase_actor
|
||||||
field_name: field_linked_opencase_actor
|
field_name: field_linked_opencase_actor
|
||||||
entity_type: user
|
entity_type: user
|
||||||
bundle: user
|
bundle: user
|
||||||
label: 'Linked OpenCase actor'
|
label: 'Person in OpenCase'
|
||||||
description: 'If this user is also an actor (e.g. a volunteer or staff member) in OpenCase, link them here. This will ensure that they have access to the correct cases and that the correct cases are shown as "theirs".'
|
description: 'If this user is also a person in OpenCase (e.g. a staff member or a volunteer), start typing the name here to link them. This will ensure they have access to the right cases.'
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: false
|
||||||
default_value: { }
|
default_value: { }
|
||||||
@ -20,7 +19,6 @@ settings:
|
|||||||
handler: 'default:oc_actor'
|
handler: 'default:oc_actor'
|
||||||
handler_settings:
|
handler_settings:
|
||||||
target_bundles:
|
target_bundles:
|
||||||
volunteer: volunteer
|
|
||||||
sort:
|
sort:
|
||||||
field: _none
|
field: _none
|
||||||
auto_create: false
|
auto_create: false
|
||||||
|
31
modules/opencase_entities/opencase_entities.install
Normal file
31
modules/opencase_entities/opencase_entities.install
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add 'activity_date_time' field to 'oc_activity' entities.
|
||||||
|
*/
|
||||||
|
function opencase_entities_update_8003() {
|
||||||
|
$storage_definition = \Drupal\Core\Field\BaseFieldDefinition::create('datetime')
|
||||||
|
->setLabel(t('Date and time'))
|
||||||
|
->setDescription(t('When the activity started.'))
|
||||||
|
->setRevisionable(TRUE)
|
||||||
|
->setSettings([
|
||||||
|
'datetime_type' => 'date'
|
||||||
|
])
|
||||||
|
->setDefaultValue('2000-01-01')
|
||||||
|
->setDisplayOptions('view', [
|
||||||
|
'type' => 'datetime_default',
|
||||||
|
'settings' => [
|
||||||
|
'format_type' => 'medium',
|
||||||
|
],
|
||||||
|
'label' => 'above',
|
||||||
|
'weight' => -3,
|
||||||
|
])
|
||||||
|
->setDisplayOptions('form', [
|
||||||
|
'type' => 'datetime_default',
|
||||||
|
'weight' => -3,
|
||||||
|
]);
|
||||||
|
|
||||||
|
\Drupal::entityDefinitionUpdateManager()
|
||||||
|
->installFieldStorageDefinition('activity_date_time', 'oc_activity', 'oc_activity', $storage_definition);
|
||||||
|
}
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
entity.oc_actor.add_form:
|
entity.oc_actor.add_form:
|
||||||
route_name: entity.oc_actor.add_page
|
route_name: entity.oc_actor.add_page
|
||||||
title: 'Add Actor'
|
title: 'Add Person'
|
||||||
appears_on:
|
appears_on:
|
||||||
- entity.oc_actor.collection
|
- entity.oc_actor.collection
|
||||||
entity.oc_actor_type.add_form:
|
entity.oc_actor_type.add_form:
|
||||||
route_name: entity.oc_actor_type.add_form
|
route_name: entity.oc_actor_type.add_form
|
||||||
title: 'Add Actor type'
|
title: 'Add Person type'
|
||||||
appears_on:
|
appears_on:
|
||||||
- entity.oc_actor_type.collection
|
- entity.oc_actor_type.collection
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
permission_callbacks:
|
||||||
|
- Drupal\opencase_entities\OpenCaseEntityPermissions::permissions
|
||||||
|
|
||||||
|
view edit delete all actor entities:
|
||||||
|
title: 'View/Edit/Delete all types of people'
|
||||||
|
description: ''
|
||||||
|
|
||||||
administer opencase entity bundles:
|
administer opencase entity bundles:
|
||||||
title: 'Administer OpenCase Actor/Case/Activity Types'
|
title: 'Administer OpenCase Actor/Case/Activity Types'
|
||||||
description: 'Create, configure and delete types of actor (such as "Client" or "Legal Advisor"), types of case (such as "Housing" or "Asylum") and types of activity (such as "Case Note" or "Interview")'
|
description: 'Create, configure and delete types of actor (such as "Client" or "Legal Advisor"), types of case (such as "Housing" or "Asylum") and types of activity (such as "Case Note" or "Interview")'
|
||||||
@ -7,58 +14,6 @@ administer actor entities:
|
|||||||
description: 'Allow to access the administration form to configure Actor entities.'
|
description: 'Allow to access the administration form to configure Actor entities.'
|
||||||
restrict access: true
|
restrict access: true
|
||||||
|
|
||||||
add client entities:
|
|
||||||
title: 'Create new Client entities'
|
|
||||||
|
|
||||||
delete client entities:
|
|
||||||
title: 'Delete Client entities'
|
|
||||||
|
|
||||||
edit client entities:
|
|
||||||
title: 'Edit Client entities'
|
|
||||||
|
|
||||||
view published client entities:
|
|
||||||
title: 'View published Client entities'
|
|
||||||
|
|
||||||
view unpublished client entities:
|
|
||||||
title: 'View unpublished Client entities'
|
|
||||||
|
|
||||||
view all client revisions:
|
|
||||||
title: 'View all Client revisions'
|
|
||||||
|
|
||||||
revert all client revisions:
|
|
||||||
title: 'Revert all Client revisions'
|
|
||||||
description: 'Role requires permission <em>view Client revisions</em> and <em>edit rights</em> for client entities in question or <em>administer client entities</em>.'
|
|
||||||
|
|
||||||
delete all client revisions:
|
|
||||||
title: 'Delete all Client revisions'
|
|
||||||
description: 'Role requires permission to <em>view Client revisions</em> and <em>delete rights</em> for client entities in question or <em>administer client entities</em>.'
|
|
||||||
|
|
||||||
add volunteer entities:
|
|
||||||
title: 'Create new Volunteer entities'
|
|
||||||
|
|
||||||
delete volunteer entities:
|
|
||||||
title: 'Delete Volunteer entities'
|
|
||||||
|
|
||||||
edit volunteer entities:
|
|
||||||
title: 'Edit Volunteer entities'
|
|
||||||
|
|
||||||
view published volunteer entities:
|
|
||||||
title: 'View published Volunteer entities'
|
|
||||||
|
|
||||||
view unpublished volunteer entities:
|
|
||||||
title: 'View unpublished Volunteer entities'
|
|
||||||
|
|
||||||
view all volunteer revisions:
|
|
||||||
title: 'View all Volunteer revisions'
|
|
||||||
|
|
||||||
revert all volunteer revisions:
|
|
||||||
title: 'Revert all Volunteer revisions'
|
|
||||||
description: 'Role requires permission <em>view Volunteer revisions</em> and <em>edit rights</em> for volunteer entities in question or <em>administer volunteer entities</em>.'
|
|
||||||
|
|
||||||
delete all volunteer revisions:
|
|
||||||
title: 'Delete all Volunteer revisions'
|
|
||||||
description: 'Role requires permission to <em>view Volunteer revisions</em> and <em>delete rights</em> for volunteer entities in question or <em>administer volunteer entities</em>.'
|
|
||||||
|
|
||||||
add case entities:
|
add case entities:
|
||||||
title: 'Create new Case entities'
|
title: 'Create new Case entities'
|
||||||
|
|
||||||
|
@ -210,6 +210,27 @@ class OCActivity extends RevisionableContentEntityBase implements OCActivityInte
|
|||||||
public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
|
public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
|
||||||
$fields = parent::baseFieldDefinitions($entity_type);
|
$fields = parent::baseFieldDefinitions($entity_type);
|
||||||
|
|
||||||
|
$fields['activity_date_time'] = BaseFieldDefinition::create('datetime')
|
||||||
|
->setLabel(t('Date and time'))
|
||||||
|
->setDescription(t('When the activity started.'))
|
||||||
|
->setRevisionable(TRUE)
|
||||||
|
->setSettings([
|
||||||
|
'datetime_type' => 'date'
|
||||||
|
])
|
||||||
|
->setDefaultValue('2000-01-01')
|
||||||
|
->setDisplayOptions('view', [
|
||||||
|
'label' => 'above',
|
||||||
|
'type' => 'datetime_default',
|
||||||
|
'settings' => [
|
||||||
|
'format_type' => 'medium',
|
||||||
|
],
|
||||||
|
'weight' => -3,
|
||||||
|
])
|
||||||
|
->setDisplayOptions('form', [
|
||||||
|
'type' => 'datetime_default',
|
||||||
|
'weight' => -3,
|
||||||
|
]);
|
||||||
|
|
||||||
// not currently in use. Will set view and form settings when ready
|
// not currently in use. Will set view and form settings when ready
|
||||||
$fields['status'] = BaseFieldDefinition::create('boolean')
|
$fields['status'] = BaseFieldDefinition::create('boolean')
|
||||||
->setLabel(t('Publishing status'))
|
->setLabel(t('Publishing status'))
|
||||||
|
@ -17,8 +17,8 @@ use Drupal\user\UserInterface;
|
|||||||
*
|
*
|
||||||
* @ContentEntityType(
|
* @ContentEntityType(
|
||||||
* id = "oc_actor",
|
* id = "oc_actor",
|
||||||
* label = @Translation("Actor"),
|
* label = @Translation("Person"),
|
||||||
* bundle_label = @Translation("Actor type"),
|
* bundle_label = @Translation("Person type"),
|
||||||
* handlers = {
|
* handlers = {
|
||||||
* "storage" = "Drupal\opencase_entities\OCActorStorage",
|
* "storage" = "Drupal\opencase_entities\OCActorStorage",
|
||||||
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
|
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
|
||||||
@ -235,7 +235,7 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', [
|
->setDisplayOptions('view', [
|
||||||
'label' => 'inline',
|
'label' => 'inline',
|
||||||
'type' => 'author',
|
'type' => 'author',
|
||||||
'weight' => -4,
|
'weight' => -10,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$fields['first_name'] = BaseFieldDefinition::create('string')
|
$fields['first_name'] = BaseFieldDefinition::create('string')
|
||||||
@ -250,11 +250,11 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', [
|
->setDisplayOptions('view', [
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => -3,
|
'weight' => -9,
|
||||||
])
|
])
|
||||||
->setDisplayOptions('form', [
|
->setDisplayOptions('form', [
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => -3,
|
'weight' => -9,
|
||||||
])
|
])
|
||||||
->setRequired(TRUE);
|
->setRequired(TRUE);
|
||||||
|
|
||||||
@ -270,11 +270,11 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', [
|
->setDisplayOptions('view', [
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => -2,
|
'weight' => -8,
|
||||||
])
|
])
|
||||||
->setDisplayOptions('form', [
|
->setDisplayOptions('form', [
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => -2,
|
'weight' => -8,
|
||||||
])
|
])
|
||||||
->setRequired(FALSE);
|
->setRequired(FALSE);
|
||||||
|
|
||||||
@ -290,14 +290,25 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', [
|
->setDisplayOptions('view', [
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => -1,
|
'weight' => -7,
|
||||||
])
|
])
|
||||||
->setDisplayOptions('form', [
|
->setDisplayOptions('form', [
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => -1,
|
'weight' => -7,
|
||||||
])
|
])
|
||||||
->setRequired(TRUE);
|
->setRequired(TRUE);
|
||||||
|
|
||||||
|
$fields['consent'] = BaseFieldDefinition::create('boolean')
|
||||||
|
->setLabel(t('Consent to data storage'))
|
||||||
|
->setDescription(t('Has this person explicitly consented to having their personal data stored on this system?'))
|
||||||
|
->setRevisionable(TRUE)
|
||||||
|
->setDefaultValue(FALSE)
|
||||||
|
->setRequired(TRUE)
|
||||||
|
->setDisplayOptions('form', array(
|
||||||
|
'type' => 'boolean_checkbox',
|
||||||
|
'weight' => -6,
|
||||||
|
));
|
||||||
|
|
||||||
// Contact details.
|
// Contact details.
|
||||||
// so it is not exposed to user configuration.
|
// so it is not exposed to user configuration.
|
||||||
$fields['email'] = BaseFieldDefinition::create('string')
|
$fields['email'] = BaseFieldDefinition::create('string')
|
||||||
@ -310,16 +321,14 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => 0,
|
'weight' => -5,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('form', array(
|
->setDisplayOptions('form', array(
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => 0,
|
'weight' => -5,
|
||||||
));
|
));
|
||||||
$fields['phone'] = BaseFieldDefinition::create('string')
|
$fields['phone'] = BaseFieldDefinition::create('string')
|
||||||
->setLabel(t('Main Phone Number'))
|
->setLabel(t('Main Phone Number'))
|
||||||
->setDisplayConfigurable('view', TRUE)
|
|
||||||
->setDisplayConfigurable('form', TRUE)
|
|
||||||
->setSettings(array(
|
->setSettings(array(
|
||||||
'default_value' => '',
|
'default_value' => '',
|
||||||
'max_length' => 20,
|
'max_length' => 20,
|
||||||
@ -328,11 +337,11 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => 2,
|
'weight' => -4,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('form', array(
|
->setDisplayOptions('form', array(
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => 2,
|
'weight' => -4,
|
||||||
));
|
));
|
||||||
$fields['phone2'] = BaseFieldDefinition::create('string')
|
$fields['phone2'] = BaseFieldDefinition::create('string')
|
||||||
->setLabel(t('Alternative Phone Number'))
|
->setLabel(t('Alternative Phone Number'))
|
||||||
@ -341,22 +350,18 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
'max_length' => 20,
|
'max_length' => 20,
|
||||||
'text_processing' => 0,
|
'text_processing' => 0,
|
||||||
))
|
))
|
||||||
->setDisplayConfigurable('view', TRUE)
|
|
||||||
->setDisplayConfigurable('form', TRUE)
|
|
||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => 3,
|
'weight' => -3,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('form', array(
|
->setDisplayOptions('form', array(
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => 3,
|
'weight' => -3,
|
||||||
));
|
));
|
||||||
$fields['postal_address'] = BaseFieldDefinition::create('string_long')
|
$fields['postal_address'] = BaseFieldDefinition::create('string_long')
|
||||||
->setLabel(t('Postal Address'))
|
->setLabel(t('Postal Address'))
|
||||||
->setDescription(t('Full address, apart from post code.'))
|
->setDescription(t('Full address, apart from post code.'))
|
||||||
->setDisplayConfigurable('view', TRUE)
|
|
||||||
->setDisplayConfigurable('form', TRUE)
|
|
||||||
->setSettings(array(
|
->setSettings(array(
|
||||||
'default_value' => '',
|
'default_value' => '',
|
||||||
'max_length' => 255,
|
'max_length' => 255,
|
||||||
@ -365,11 +370,11 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'basic_string',
|
'type' => 'basic_string',
|
||||||
'weight' => 5,
|
'weight' => -2,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('form', array(
|
->setDisplayOptions('form', array(
|
||||||
'type' => 'string_textarea',
|
'type' => 'string_textarea',
|
||||||
'weight' => 5,
|
'weight' => -2,
|
||||||
));
|
));
|
||||||
$fields['post_code'] = BaseFieldDefinition::create('string')
|
$fields['post_code'] = BaseFieldDefinition::create('string')
|
||||||
->setLabel(t('Post Code'))
|
->setLabel(t('Post Code'))
|
||||||
@ -381,11 +386,11 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
|||||||
->setDisplayOptions('view', array(
|
->setDisplayOptions('view', array(
|
||||||
'label' => 'above',
|
'label' => 'above',
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'weight' => 6,
|
'weight' => -1,
|
||||||
))
|
))
|
||||||
->setDisplayOptions('form', array(
|
->setDisplayOptions('form', array(
|
||||||
'type' => 'string_textfield',
|
'type' => 'string_textfield',
|
||||||
'weight' => 6,
|
'weight' => -1,
|
||||||
));
|
));
|
||||||
|
|
||||||
$fields['created'] = BaseFieldDefinition::create('created')
|
$fields['created'] = BaseFieldDefinition::create('created')
|
||||||
|
@ -9,7 +9,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
|
|||||||
*
|
*
|
||||||
* @ConfigEntityType(
|
* @ConfigEntityType(
|
||||||
* id = "oc_actor_type",
|
* id = "oc_actor_type",
|
||||||
* label = @Translation("Actor type"),
|
* label = @Translation("Person type"),
|
||||||
* handlers = {
|
* handlers = {
|
||||||
* "access" = "Drupal\opencase_entities\OCActorTypeAccessControlHandler",
|
* "access" = "Drupal\opencase_entities\OCActorTypeAccessControlHandler",
|
||||||
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
|
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
|
||||||
|
@ -55,13 +55,13 @@ class OCActorForm extends ContentEntityForm {
|
|||||||
|
|
||||||
switch ($status) {
|
switch ($status) {
|
||||||
case SAVED_NEW:
|
case SAVED_NEW:
|
||||||
drupal_set_message($this->t('Created the %label Actor.', [
|
drupal_set_message($this->t('Created %label.', [
|
||||||
'%label' => $entity->label(),
|
'%label' => $entity->label(),
|
||||||
]));
|
]));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
drupal_set_message($this->t('Saved the %label Actor.', [
|
drupal_set_message($this->t('Saved %label.', [
|
||||||
'%label' => $entity->label(),
|
'%label' => $entity->label(),
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ class OCActorTypeForm extends EntityForm {
|
|||||||
'#title' => $this->t('Label'),
|
'#title' => $this->t('Label'),
|
||||||
'#maxlength' => 255,
|
'#maxlength' => 255,
|
||||||
'#default_value' => $oc_actor_type->label(),
|
'#default_value' => $oc_actor_type->label(),
|
||||||
'#description' => $this->t("Label for the Actor type."),
|
'#description' => $this->t("Label for the Person type."),
|
||||||
'#required' => TRUE,
|
'#required' => TRUE,
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -49,13 +49,13 @@ class OCActorTypeForm extends EntityForm {
|
|||||||
|
|
||||||
switch ($status) {
|
switch ($status) {
|
||||||
case SAVED_NEW:
|
case SAVED_NEW:
|
||||||
drupal_set_message($this->t('Created the %label Actor type.', [
|
drupal_set_message($this->t('Created the %label Person type.', [
|
||||||
'%label' => $oc_actor_type->label(),
|
'%label' => $oc_actor_type->label(),
|
||||||
]));
|
]));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
drupal_set_message($this->t('Saved the %label Actor type.', [
|
drupal_set_message($this->t('Saved the %label Person type.', [
|
||||||
'%label' => $oc_actor_type->label(),
|
'%label' => $oc_actor_type->label(),
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ class OCActorTypeListBuilder extends ConfigEntityListBuilder {
|
|||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function buildHeader() {
|
public function buildHeader() {
|
||||||
$header['label'] = $this->t('Actor type');
|
$header['label'] = $this->t('Person type');
|
||||||
$header['id'] = $this->t('Machine name');
|
$header['id'] = $this->t('Machine name');
|
||||||
return $header + parent::buildHeader();
|
return $header + parent::buildHeader();
|
||||||
}
|
}
|
||||||
|
93
modules/opencase_entities/src/OpenCaseEntityPermissions.php
Normal file
93
modules/opencase_entities/src/OpenCaseEntityPermissions.php
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Drupal\opencase_entities;
|
||||||
|
|
||||||
|
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
|
||||||
|
use Drupal\Core\Entity\EntityTypeManagerInterface;
|
||||||
|
use Drupal\Core\StringTranslation\StringTranslationTrait;
|
||||||
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
|
class OpenCaseEntityPermissions implements ContainerInjectionInterface {
|
||||||
|
|
||||||
|
use StringTranslationTrait;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The entity type manager.
|
||||||
|
*
|
||||||
|
* @var \Drupal\Core\Entity\EntityTypeManagerInterface
|
||||||
|
*/
|
||||||
|
protected $entityTypeManager;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor for MyModulePermissions.
|
||||||
|
*
|
||||||
|
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
|
||||||
|
* The entity type manager.
|
||||||
|
*/
|
||||||
|
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
|
||||||
|
$this->entityTypeManager = $entity_type_manager;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public static function create(ContainerInterface $container) {
|
||||||
|
return new static($container->get('entity_type.manager'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get permissions for MyModule.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
* Permissions array.
|
||||||
|
*/
|
||||||
|
public function permissions() {
|
||||||
|
$permissions = [];
|
||||||
|
|
||||||
|
foreach ($this->entityTypeManager->getStorage('oc_actor_type')->loadMultiple() as $id => $type) {
|
||||||
|
$permissions += [
|
||||||
|
"add $id entities" => [
|
||||||
|
'title' => $this->t('Create new %type entities', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"edit $id entities" => [
|
||||||
|
'title' => $this->t('Edit %type entities', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"delete $id entities" => [
|
||||||
|
'title' => $this->t('Delete %type entities', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"view published $id entities" => [
|
||||||
|
'title' => $this->t('View published %type entities', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"view all $id revisions" => [
|
||||||
|
'title' => $this->t('View %type revisions', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"revert all $id revisions" => [
|
||||||
|
'title' => $this->t('Revert %type revisions', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
$permissions += [
|
||||||
|
"delete all $id revisions" => [
|
||||||
|
'title' => $this->t('Delete %type revisions', array('%type' => $type->label())),
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
|
return $permissions;
|
||||||
|
}
|
||||||
|
}
|
BIN
modules/opencase_reporting/assets/download.png
Normal file
BIN
modules/opencase_reporting/assets/download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.actor_type
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_actortype
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:actor_type'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:actor_type'
|
||||||
|
label: 'Actor type'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_actortype
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/actors'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,28 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- facets.facet.created
|
||||||
|
module:
|
||||||
|
- facets
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: facet_created
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: 0
|
||||||
|
provider: null
|
||||||
|
plugin: 'facet_block:created'
|
||||||
|
settings:
|
||||||
|
id: 'facet_block:created'
|
||||||
|
label: 'Created Date'
|
||||||
|
provider: facets
|
||||||
|
label_display: visible
|
||||||
|
block_id: facet_created
|
||||||
|
visibility:
|
||||||
|
request_path:
|
||||||
|
id: request_path
|
||||||
|
pages: '/opencase/reporting/actors'
|
||||||
|
negate: false
|
||||||
|
context_mapping: { }
|
@ -0,0 +1,59 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_actors
|
||||||
|
- views.view.reporting_actors
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: actor_type
|
||||||
|
name: 'Actor type'
|
||||||
|
url_alias: actor_type
|
||||||
|
weight: 0
|
||||||
|
min_count: 1
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: type
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_actors__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -9
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -8
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -10
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,59 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_actors
|
||||||
|
module:
|
||||||
|
- views_data_export
|
||||||
|
id: actor_type_export
|
||||||
|
name: 'Actor type - Export'
|
||||||
|
url_alias: actor_type
|
||||||
|
weight: 0
|
||||||
|
min_count: 1
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: type
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_actors__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 20
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 30
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
||||||
|
|
@ -0,0 +1,67 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_actors
|
||||||
|
- views.view.reporting_actors
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
id: created
|
||||||
|
name: Created
|
||||||
|
url_alias: created
|
||||||
|
weight: 0
|
||||||
|
min_count: 1
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: created
|
||||||
|
facet_source_id: 'search_api:views_page__reporting_actors__page_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -8
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -9
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
date_item:
|
||||||
|
processor_id: date_item
|
||||||
|
weights:
|
||||||
|
build: 35
|
||||||
|
settings:
|
||||||
|
date_display: actual_date
|
||||||
|
granularity: 5
|
||||||
|
date_format: ''
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: -10
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
@ -0,0 +1,67 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_actors
|
||||||
|
module:
|
||||||
|
- views_data_export
|
||||||
|
id: created_export
|
||||||
|
name: 'Created - Export'
|
||||||
|
url_alias: created
|
||||||
|
weight: 0
|
||||||
|
min_count: 1
|
||||||
|
show_only_one_result: false
|
||||||
|
field_identifier: created
|
||||||
|
facet_source_id: 'search_api:views_data_export__reporting_actors__data_export_1'
|
||||||
|
widget:
|
||||||
|
type: checkbox
|
||||||
|
config:
|
||||||
|
show_numbers: true
|
||||||
|
soft_limit: 0
|
||||||
|
soft_limit_settings:
|
||||||
|
show_less_label: 'Show less'
|
||||||
|
show_more_label: 'Show more'
|
||||||
|
query_operator: or
|
||||||
|
use_hierarchy: false
|
||||||
|
expand_hierarchy: false
|
||||||
|
enable_parent_when_child_gets_disabled: true
|
||||||
|
hard_limit: 0
|
||||||
|
exclude: false
|
||||||
|
only_visible_when_facet_source_is_visible: true
|
||||||
|
processor_configs:
|
||||||
|
active_widget_order:
|
||||||
|
processor_id: active_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 20
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
count_widget_order:
|
||||||
|
processor_id: count_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 30
|
||||||
|
settings:
|
||||||
|
sort: DESC
|
||||||
|
date_item:
|
||||||
|
processor_id: date_item
|
||||||
|
weights:
|
||||||
|
build: 35
|
||||||
|
settings:
|
||||||
|
date_display: actual_date
|
||||||
|
granularity: 5
|
||||||
|
date_format: ''
|
||||||
|
display_value_widget_order:
|
||||||
|
processor_id: display_value_widget_order
|
||||||
|
weights:
|
||||||
|
sort: 40
|
||||||
|
settings:
|
||||||
|
sort: ASC
|
||||||
|
url_processor_handler:
|
||||||
|
processor_id: url_processor_handler
|
||||||
|
weights:
|
||||||
|
pre_query: 50
|
||||||
|
build: 15
|
||||||
|
settings: { }
|
||||||
|
empty_behavior:
|
||||||
|
behavior: none
|
||||||
|
show_title: false
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.server.opencase_reporting_server
|
||||||
|
module:
|
||||||
|
- search_api
|
||||||
|
- opencase_entities
|
||||||
|
id: opencase_reporting_actors
|
||||||
|
name: 'OpenCase Reporting: Actors'
|
||||||
|
description: ''
|
||||||
|
read_only: false
|
||||||
|
field_settings:
|
||||||
|
created:
|
||||||
|
label: Created
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: created
|
||||||
|
type: date
|
||||||
|
type:
|
||||||
|
label: 'Actor type'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: type
|
||||||
|
type: string
|
||||||
|
datasource_settings:
|
||||||
|
'entity:oc_actor':
|
||||||
|
bundles:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
languages:
|
||||||
|
default: true
|
||||||
|
selected: { }
|
||||||
|
processor_settings:
|
||||||
|
add_url: { }
|
||||||
|
aggregated_field: { }
|
||||||
|
rendered_item: { }
|
||||||
|
tracker_settings:
|
||||||
|
default:
|
||||||
|
indexing_order: fifo
|
||||||
|
options:
|
||||||
|
index_directly: true
|
||||||
|
cron_limit: 50
|
||||||
|
server: opencase_reporting_server
|
@ -0,0 +1,16 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- search_api_db
|
||||||
|
id: opencase_reporting_server
|
||||||
|
name: 'OpenCase Reporting'
|
||||||
|
description: ''
|
||||||
|
backend: search_api_db
|
||||||
|
backend_config:
|
||||||
|
database: 'default:default'
|
||||||
|
min_chars: 1
|
||||||
|
partial_matches: false
|
||||||
|
autocomplete:
|
||||||
|
suggest_suffix: true
|
||||||
|
suggest_words: true
|
@ -0,0 +1,588 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- search_api.index.opencase_reporting_actors
|
||||||
|
content:
|
||||||
|
- 'block_content:basic:944ff38d-5931-4439-91d5-f53b5ad7aac7'
|
||||||
|
module:
|
||||||
|
- csv_serialization
|
||||||
|
- rest
|
||||||
|
- search_api
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
- views_data_export
|
||||||
|
id: reporting_actors
|
||||||
|
label: 'Reporting: Actors'
|
||||||
|
module: views
|
||||||
|
description: 'A basic reporting view, for illustrative purposes, that does not assume the existence of any specific actor types or fields'
|
||||||
|
tag: ''
|
||||||
|
base_table: search_api_index_opencase_reporting_actors
|
||||||
|
base_field: search_api_id
|
||||||
|
core: 8.x
|
||||||
|
display:
|
||||||
|
default:
|
||||||
|
display_plugin: default
|
||||||
|
id: default
|
||||||
|
display_title: Master
|
||||||
|
position: 0
|
||||||
|
display_options:
|
||||||
|
access:
|
||||||
|
type: perm
|
||||||
|
options:
|
||||||
|
perm: 'access content'
|
||||||
|
cache:
|
||||||
|
type: tag
|
||||||
|
options: { }
|
||||||
|
query:
|
||||||
|
type: views_query
|
||||||
|
options:
|
||||||
|
bypass_access: false
|
||||||
|
skip_access: false
|
||||||
|
exposed_form:
|
||||||
|
type: basic
|
||||||
|
options:
|
||||||
|
submit_button: Apply
|
||||||
|
reset_button: false
|
||||||
|
reset_button_label: Reset
|
||||||
|
exposed_sorts_label: 'Sort by'
|
||||||
|
expose_sort_order: true
|
||||||
|
sort_asc_label: Asc
|
||||||
|
sort_desc_label: Desc
|
||||||
|
pager:
|
||||||
|
type: mini
|
||||||
|
options:
|
||||||
|
items_per_page: 50
|
||||||
|
offset: 0
|
||||||
|
id: 0
|
||||||
|
total_pages: null
|
||||||
|
tags:
|
||||||
|
previous: ‹‹
|
||||||
|
next: ››
|
||||||
|
expose:
|
||||||
|
items_per_page: false
|
||||||
|
items_per_page_label: 'Items per page'
|
||||||
|
items_per_page_options: '5, 10, 25, 50'
|
||||||
|
items_per_page_options_all: false
|
||||||
|
items_per_page_options_all_label: '- All -'
|
||||||
|
offset: false
|
||||||
|
offset_label: Offset
|
||||||
|
style:
|
||||||
|
type: table
|
||||||
|
options:
|
||||||
|
grouping: { }
|
||||||
|
row_class: ''
|
||||||
|
default_row_class: true
|
||||||
|
override: true
|
||||||
|
sticky: false
|
||||||
|
caption: ''
|
||||||
|
summary: ''
|
||||||
|
description: ''
|
||||||
|
columns:
|
||||||
|
created: created
|
||||||
|
type: type
|
||||||
|
info:
|
||||||
|
created:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
type:
|
||||||
|
sortable: false
|
||||||
|
default_sort_order: asc
|
||||||
|
align: ''
|
||||||
|
separator: ''
|
||||||
|
empty_column: false
|
||||||
|
responsive: ''
|
||||||
|
default: '-1'
|
||||||
|
empty_table: false
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
first_name:
|
||||||
|
id: first_name
|
||||||
|
table: search_api_datasource_opencase_reporting_actors_entity_oc_actor
|
||||||
|
field: first_name
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'First Name'
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_actor
|
||||||
|
plugin_id: search_api_field
|
||||||
|
last_name:
|
||||||
|
id: last_name
|
||||||
|
table: search_api_datasource_opencase_reporting_actors_entity_oc_actor
|
||||||
|
field: last_name
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Last Name'
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: oc_actor
|
||||||
|
plugin_id: search_api_field
|
||||||
|
type:
|
||||||
|
id: type
|
||||||
|
table: search_api_index_opencase_reporting_actors
|
||||||
|
field: type
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: Type
|
||||||
|
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: false
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api_entity
|
||||||
|
fallback_options:
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
display_methods:
|
||||||
|
oc_actor_type:
|
||||||
|
display_method: label
|
||||||
|
plugin_id: search_api_field
|
||||||
|
created:
|
||||||
|
id: created
|
||||||
|
table: search_api_index_opencase_reporting_actors
|
||||||
|
field: created
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
label: 'Created date'
|
||||||
|
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: timestamp
|
||||||
|
settings:
|
||||||
|
date_format: medium
|
||||||
|
custom_date_format: ''
|
||||||
|
timezone: ''
|
||||||
|
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
|
||||||
|
field_rendering: true
|
||||||
|
fallback_handler: search_api_date
|
||||||
|
fallback_options:
|
||||||
|
date_format: fallback
|
||||||
|
custom_date_format: ''
|
||||||
|
timezone: ''
|
||||||
|
link_to_item: false
|
||||||
|
use_highlighting: false
|
||||||
|
multi_type: separator
|
||||||
|
multi_separator: ', '
|
||||||
|
entity_type: null
|
||||||
|
entity_field: null
|
||||||
|
plugin_id: search_api_field
|
||||||
|
filters: { }
|
||||||
|
sorts: { }
|
||||||
|
title: 'Reporting: Actors'
|
||||||
|
header: { }
|
||||||
|
footer: { }
|
||||||
|
empty: { }
|
||||||
|
relationships: { }
|
||||||
|
arguments:
|
||||||
|
'null':
|
||||||
|
id: 'null'
|
||||||
|
table: views
|
||||||
|
field: 'null'
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
default_action: default
|
||||||
|
exception:
|
||||||
|
value: all
|
||||||
|
title_enable: false
|
||||||
|
title: All
|
||||||
|
title_enable: true
|
||||||
|
title: '{{ "now"|date("Y/m/d") }}-{{ raw_arguments.null }} '
|
||||||
|
default_argument_type: query_parameter
|
||||||
|
default_argument_options:
|
||||||
|
query_param: title
|
||||||
|
fallback: Report
|
||||||
|
multiple: and
|
||||||
|
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: { }
|
||||||
|
must_not_be: false
|
||||||
|
plugin_id: 'null'
|
||||||
|
display_extenders: { }
|
||||||
|
use_ajax: true
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags: { }
|
||||||
|
data_export_1:
|
||||||
|
display_plugin: data_export
|
||||||
|
id: data_export_1
|
||||||
|
display_title: 'Data export'
|
||||||
|
position: 3
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/actors
|
||||||
|
filename: '[view:title].csv'
|
||||||
|
displays:
|
||||||
|
default: '0'
|
||||||
|
page_1: '0'
|
||||||
|
style:
|
||||||
|
type: data_export
|
||||||
|
options:
|
||||||
|
formats:
|
||||||
|
csv: csv
|
||||||
|
csv_settings:
|
||||||
|
delimiter: ','
|
||||||
|
enclosure: '"'
|
||||||
|
escape_char: \
|
||||||
|
strip_tags: true
|
||||||
|
trim: true
|
||||||
|
encoding: utf8
|
||||||
|
xls_settings:
|
||||||
|
xls_format: Excel2007
|
||||||
|
metadata:
|
||||||
|
creator: ''
|
||||||
|
last_modified_by: ''
|
||||||
|
title: ''
|
||||||
|
description: ''
|
||||||
|
subject: ''
|
||||||
|
keywords: ''
|
||||||
|
category: ''
|
||||||
|
manager: ''
|
||||||
|
company: ''
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
arguments: false
|
||||||
|
pager:
|
||||||
|
type: none
|
||||||
|
options:
|
||||||
|
offset: 0
|
||||||
|
arguments:
|
||||||
|
'null':
|
||||||
|
id: 'null'
|
||||||
|
table: views
|
||||||
|
field: 'null'
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
default_action: default
|
||||||
|
exception:
|
||||||
|
value: all
|
||||||
|
title_enable: false
|
||||||
|
title: All
|
||||||
|
title_enable: true
|
||||||
|
title: '{{ raw_arguments.null }}'
|
||||||
|
default_argument_type: query_parameter
|
||||||
|
default_argument_options:
|
||||||
|
query_param: title
|
||||||
|
fallback: New+Report
|
||||||
|
multiple: and
|
||||||
|
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: { }
|
||||||
|
must_not_be: false
|
||||||
|
plugin_id: 'null'
|
||||||
|
auth:
|
||||||
|
- cookie
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- request_format
|
||||||
|
- url
|
||||||
|
- user.permissions
|
||||||
|
tags: { }
|
||||||
|
page_1:
|
||||||
|
display_plugin: page
|
||||||
|
id: page_1
|
||||||
|
display_title: Page
|
||||||
|
position: 1
|
||||||
|
display_options:
|
||||||
|
display_extenders: { }
|
||||||
|
path: opencase/reporting/actors
|
||||||
|
cache:
|
||||||
|
type: none
|
||||||
|
defaults:
|
||||||
|
cache: false
|
||||||
|
header: false
|
||||||
|
menu:
|
||||||
|
type: tab
|
||||||
|
title: Reporting
|
||||||
|
description: ''
|
||||||
|
expanded: false
|
||||||
|
parent: ''
|
||||||
|
weight: 0
|
||||||
|
context: '0'
|
||||||
|
menu_name: main
|
||||||
|
header:
|
||||||
|
entity_block_content:
|
||||||
|
id: entity_block_content
|
||||||
|
table: views
|
||||||
|
field: entity_block_content
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
empty: true
|
||||||
|
tokenize: false
|
||||||
|
target: 944ff38d-5931-4439-91d5-f53b5ad7aac7
|
||||||
|
view_mode: default
|
||||||
|
bypass_access: false
|
||||||
|
plugin_id: entity
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url
|
||||||
|
- url.query_args
|
||||||
|
- user.permissions
|
||||||
|
tags: { }
|
@ -0,0 +1,12 @@
|
|||||||
|
opencase_reporting.opencase_report.*:
|
||||||
|
type: config_entity
|
||||||
|
label: 'OpenCase Report config'
|
||||||
|
mapping:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
label: 'ID'
|
||||||
|
label:
|
||||||
|
type: label
|
||||||
|
label: 'Label'
|
||||||
|
uuid:
|
||||||
|
type: string
|
15
modules/opencase_reporting/css/opencase-reporting.css
Normal file
15
modules/opencase_reporting/css/opencase-reporting.css
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
.facet-item label {
|
||||||
|
display: inline;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.facet-item {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.views-data-export-feed.csv-feed .feed-icon {
|
||||||
|
background-image: url(/modules/contrib/opencase/modules/opencase_reporting/assets/download.png);
|
||||||
|
width: 200px;
|
||||||
|
height: 27px;
|
||||||
|
float: right;
|
||||||
|
}
|
0
modules/opencase_reporting/js/opencase-reporting.js
Normal file
0
modules/opencase_reporting/js/opencase-reporting.js
Normal file
18
modules/opencase_reporting/opencase_reporting.info.yml
Normal file
18
modules/opencase_reporting/opencase_reporting.info.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: 'OpenCase Reporting'
|
||||||
|
type: module
|
||||||
|
description: 'Reporting functionality for OpenCase'
|
||||||
|
core: 8.x
|
||||||
|
package: 'OpenCase'
|
||||||
|
dependencies:
|
||||||
|
- opencase_entities
|
||||||
|
- search_api
|
||||||
|
- search_api_db
|
||||||
|
- facets
|
||||||
|
- csv_serialization
|
||||||
|
- rest
|
||||||
|
- serialization
|
||||||
|
- user
|
||||||
|
- views_data_export
|
||||||
|
|
||||||
|
libraries:
|
||||||
|
- opencase_reporting/opencase-reporting-lib
|
@ -0,0 +1,7 @@
|
|||||||
|
opencase-reporting-lib:
|
||||||
|
version: 1.x
|
||||||
|
css:
|
||||||
|
theme:
|
||||||
|
css/opencase-reporting.css: {}
|
||||||
|
js:
|
||||||
|
js/opencase-reporting.js: {}
|
@ -0,0 +1,6 @@
|
|||||||
|
opencase_reporting.reporting_menu:
|
||||||
|
title: 'Reporting'
|
||||||
|
description: 'Report on clients'
|
||||||
|
menu_name: opencase
|
||||||
|
route_name: opencase_reporting.reporting_menu
|
||||||
|
weight: 10
|
56
modules/opencase_reporting/opencase_reporting.module
Normal file
56
modules/opencase_reporting/opencase_reporting.module
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* Contains opencase_reporting.module.
|
||||||
|
*/
|
||||||
|
|
||||||
|
use Drupal\Core\Routing\RouteMatchInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_help().
|
||||||
|
*/
|
||||||
|
function opencase_reporting_help($route_name, RouteMatchInterface $route_match) {
|
||||||
|
switch ($route_name) {
|
||||||
|
// Main module help for the opencase_reporting module.
|
||||||
|
case 'help.page.opencase_reporting':
|
||||||
|
$output = '';
|
||||||
|
$output .= '<h3>' . t('About') . '</h3>';
|
||||||
|
$output .= '<p>' . t('Reporting functionality for OpenCase.') . '</p>';
|
||||||
|
return $output;
|
||||||
|
|
||||||
|
default:
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_page_attachments
|
||||||
|
*
|
||||||
|
* Add the opencase library to every page
|
||||||
|
*/
|
||||||
|
function opencase_reporting_page_attachments(array &$page) {
|
||||||
|
$page['#attached']['library'][] = 'opencase_reporting/opencase-reporting-lib';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_uninstall().
|
||||||
|
* Removes configs.
|
||||||
|
*/
|
||||||
|
function opencase_reporting_uninstall() {
|
||||||
|
$configs = [
|
||||||
|
'search_api.server.opencase_reporting_server',
|
||||||
|
'search_api.index.opencase_reporting_actors',
|
||||||
|
'facets.facet.actor_type',
|
||||||
|
'facets.facet.actor_type_export',
|
||||||
|
'facets.facet.created',
|
||||||
|
'facets.facet.created_export',
|
||||||
|
'views.view.reporting_actors',
|
||||||
|
'block.block.facet_actortype',
|
||||||
|
'block.block.facet_created',
|
||||||
|
'block.block.opencase_reporting_menu',
|
||||||
|
'system.menu.opencase_reporting'
|
||||||
|
];
|
||||||
|
foreach($configs as $config) {
|
||||||
|
Drupal::configFactory()->getEditable($config)->delete();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
opencase_reporting.reporting_menu:
|
||||||
|
path: '/'
|
||||||
|
requirements:
|
||||||
|
_permission: 'use opencase'
|
@ -9,7 +9,7 @@ dependencies:
|
|||||||
- bartik
|
- bartik
|
||||||
id: exposedformactor_searchpage_1
|
id: exposedformactor_searchpage_1
|
||||||
theme: bartik
|
theme: bartik
|
||||||
region: sidebar_first
|
region: header
|
||||||
weight: -9
|
weight: -9
|
||||||
provider: null
|
provider: null
|
||||||
plugin: 'views_exposed_filter_block:actor_search-page_1'
|
plugin: 'views_exposed_filter_block:actor_search-page_1'
|
||||||
|
@ -7,14 +7,19 @@ dependencies:
|
|||||||
- search_api
|
- search_api
|
||||||
- opencase_entities
|
- opencase_entities
|
||||||
id: opencase_actors
|
id: opencase_actors
|
||||||
name: 'OpenCase Actors'
|
name: 'OpenCase Search: Actors'
|
||||||
description: ''
|
description: ''
|
||||||
read_only: false
|
read_only: false
|
||||||
field_settings:
|
field_settings:
|
||||||
name:
|
first_name:
|
||||||
label: Name
|
label: 'First Name'
|
||||||
datasource_id: 'entity:oc_actor'
|
datasource_id: 'entity:oc_actor'
|
||||||
property_path: name
|
property_path: first_name
|
||||||
|
type: text
|
||||||
|
last_name:
|
||||||
|
label: 'Last Name'
|
||||||
|
datasource_id: 'entity:oc_actor'
|
||||||
|
property_path: last_name
|
||||||
type: text
|
type: text
|
||||||
datasource_settings:
|
datasource_settings:
|
||||||
'entity:oc_actor':
|
'entity:oc_actor':
|
||||||
@ -25,16 +30,17 @@ datasource_settings:
|
|||||||
default: true
|
default: true
|
||||||
selected: { }
|
selected: { }
|
||||||
processor_settings:
|
processor_settings:
|
||||||
rendered_item: { }
|
add_url: { }
|
||||||
aggregated_field: { }
|
aggregated_field: { }
|
||||||
ignorecase:
|
ignorecase:
|
||||||
all_fields: true
|
all_fields: true
|
||||||
fields:
|
fields:
|
||||||
- name
|
- first_name
|
||||||
|
- last_name
|
||||||
weights:
|
weights:
|
||||||
preprocess_index: -20
|
preprocess_index: -20
|
||||||
preprocess_query: -20
|
preprocess_query: -20
|
||||||
add_url: { }
|
rendered_item: { }
|
||||||
tracker_settings:
|
tracker_settings:
|
||||||
default:
|
default:
|
||||||
indexing_order: fifo
|
indexing_order: fifo
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user