config, including alphabetising trainer view

This commit is contained in:
naomi 2021-12-09 16:16:26 +00:00
parent 15dbf2f2c9
commit a4a0b9f52d
17 changed files with 167 additions and 189 deletions

View File

@ -52,4 +52,5 @@ hidden:
feeds_item: true
name: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -33,6 +33,7 @@ processor_configuration:
skip_hash_check: false
values:
type: project
insert_new: 1
custom_sources:
client:
label: CLIENT

View File

@ -32,6 +32,7 @@ processor_configuration:
skip_hash_check: false
values:
type: trainer
insert_new: 1
custom_sources:
training:
label: Training

View File

@ -36,6 +36,7 @@ processor_configuration:
skip_hash_check: false
values:
type: client
insert_new: 1
custom_sources:
tags:
label: Tags

View File

@ -32,6 +32,7 @@ processor_configuration:
skip_hash_check: false
values:
type: project_fee
insert_new: 1
custom_sources:
fee_category:
label: 'FEE CATEGORY'

View File

@ -29,5 +29,6 @@ processor_configuration:
skip_hash_check: false
values:
type: article
insert_new: 1
custom_sources: { }
mappings: { }

View File

@ -35,6 +35,7 @@ processor_configuration:
skip_hash_check: false
values:
type: training
insert_new: 1
custom_sources:
client:
label: CLIENT

View File

@ -33,6 +33,7 @@ processor_configuration:
skip_hash_check: false
values:
type: umbrella_client
insert_new: 1
custom_sources:
name:
label: name

View File

@ -35,5 +35,6 @@ processor_configuration:
skip_hash_check: false
values:
type: trainer
insert_new: 1
custom_sources: { }
mappings: { }

View File

@ -25,77 +25,67 @@ tips:
label: 'Add fields'
body: 'With the "Add fields" button you can add additional fields to this index.'
weight: 2
attributes:
data-class: 'button-action[data-drupal-selector="edit-add-field"]'
selector: '.button-action[data-drupal-selector="edit-add-field"]'
search-api-index-fields-label:
id: search-api-index-fields-label
plugin: text
label: Label
body: 'A label for the field that will be used to refer to the field in most places in the user interface.'
weight: 3
attributes:
data-class: 'details-wrapper:nth(0) table thead th:nth(0)'
selector: '.details-wrapper:nth(0) table thead th:nth(0)'
search-api-index-fields-machine-name:
id: search-api-index-fields-machine-name
plugin: text
label: 'Machine name'
body: 'The internal ID to use for this field. Can safely be ignored by inexperienced users in most cases. Changing a field''s machine name requires reindexing of the index.'
weight: 4
attributes:
data-class: 'details-wrapper:nth(0) table thead th:nth(1)'
selector: '.details-wrapper:nth(0) table thead th:nth(1)'
search-api-index-fields-property-path:
id: search-api-index-fields-property-path
plugin: text
label: 'Property path'
body: 'The internal relationship linking the indexed item to the field, with links being separated by colons (:). This can be useful information for advanced users, but can otherwise be ignored.'
weight: 5
attributes:
data-class: 'details-wrapper:nth(0) table thead th:nth(2)'
selector: '.details-wrapper:nth(0) table thead th:nth(2)'
search-api-index-fields-type:
id: search-api-index-fields-type
plugin: text
label: Type
body: 'The data type to use when indexing the field. Determines how a field can be used in searches. For information on the available types, see the <a href="#search-api-data-types-table">"Data types" box</a> at the bottom of the page.'
weight: 6
attributes:
data-class: 'details-wrapper:nth(0) table thead th:nth(3)'
selector: '.details-wrapper:nth(0) table thead th:nth(3)'
search-api-index-fields-boost:
id: search-api-index-fields-boost
plugin: text
label: Boost
body: 'Only applicable for fulltext fields. Determines how "important" the field is compared to other fulltext fields, to influence scoring of fulltext searches.'
weight: 7
attributes:
data-class: 'details-wrapper:nth(0) table thead th:nth(4)'
selector: '.details-wrapper:nth(0) table thead th:nth(4)'
search-api-index-fields-edit:
id: search-api-index-fields-edit
plugin: text
label: 'Edit field'
body: 'Some fields have additional configuration available, in which case an "Edit" link is displayed in the "Operations" column.'
weight: 8
attributes:
data-class: 'details-wrapper:nth(0) table tbody td:nth(5) a'
selector: '.details-wrapper:nth(0) table tbody td:nth(5) a'
search-api-index-fields-remove:
id: search-api-index-fields-remove
plugin: text
label: 'Remove field'
body: 'Removes a field from the index again. (Note: Sometimes, a field is required (for example, by a processor) and cannot be removed.)'
weight: 9
attributes:
data-class: 'details-wrapper:nth(0) table tbody td:nth(6) a'
selector: '.details-wrapper:nth(0) table tbody td:nth(6) a'
search-api-index-fields-submit:
id: search-api-index-fields-submit
plugin: text
label: 'Save changes'
body: 'This saves all changes made to the fields for this index. Until this button is pressed, all added, changed or removed fields will only be stored temporarily and not effect the actual index used in the rest of the site.'
weight: 10
attributes:
data-id: edit-actions-submit
selector: '#edit-actions-submit'
search-api-index-fields-cancel:
id: search-api-index-fields-cancel
plugin: text
label: 'Cancel changes'
body: 'If you have made changes to the index''s fields but not yet saved them, the "Cancel" link lets you discard those changes.'
weight: 10
attributes:
data-id: edit-actions-cancel
selector: '#edit-actions-cancel'

View File

@ -27,45 +27,39 @@ tips:
label: 'Index name'
body: 'Enter a name to identify this index. For example, "Content index". This will only be displayed in the admin user interface.'
weight: 2
attributes:
data-id: edit-name
selector: '#edit-name'
search-api-index-form-datasources:
id: search-api-index-form-datasources
plugin: text
label: Datasources
body: 'Datasources define the types of items that will be indexed in this index. By default, all content entities (like content, comments and taxonomy terms) will be available here, but modules can also add their own.'
weight: 3
attributes:
data-id: edit-datasources
selector: '#edit-datasources'
search-api-index-form-tracker:
id: search-api-index-form-tracker
plugin: text
label: Tracker
body: 'An index''s tracker is the system that keeps track of which items there are available for the index, and which of them still need to be indexed. Changing the tracker of an existing index will lead to reindexing of all items.'
weight: 4
attributes:
data-id: edit-tracker
selector: '#edit-tracker'
search-api-index-form-server:
id: search-api-index-form-server
plugin: text
label: Server
body: 'The search server that the index should use for indexing and searching. If no server is selected here, the index cannot be enabled. An index can only have one server, but a server can have any number of indexes.'
weight: 5
attributes:
data-id: edit-server
selector: '#edit-server'
search-api-index-form-description:
id: search-api-index-form-description
plugin: text
label: 'Index description'
body: 'Optionally, enter a description to explain the function of the index in more detail. This will only be displayed in the admin user interface.'
weight: 6
attributes:
data-id: edit-description
selector: '#edit-description'
search-api-index-form-options:
id: search-api-index-form-options
plugin: text
label: 'Advanced options'
body: 'These options allow more detailed configuration of index behavior, but can usually safely be ignored by inexperienced users.'
weight: 7
attributes:
data-id: edit-options
selector: '#edit-options'

View File

@ -25,21 +25,18 @@ tips:
label: 'Enable processors'
body: 'This lists all processors available for this index and lets you choose the ones that should be active. (Note: Some processors cannot be disabled.)'
weight: 2
attributes:
data-id: edit-status
selector: '#edit-status'
search-api-index-processors-weights:
id: search-api-index-processors-weights
plugin: text
label: 'Processor order'
body: 'This shows you which enabled processors will be active in the different parts of the indexing/searching workflow, and lets you re-arrange them. This should usually not be necessary, and only be used by advanced users as some processors will lead to unexpected results when used in the wrong order.'
weight: 3
attributes:
data-id: edit-weights
selector: '#edit-weights'
search-api-index-processors-settings:
id: search-api-index-processors-settings
plugin: text
label: 'Processor settings'
body: 'Some processors have additional configuration available, which you are able to change here.'
weight: 4
attributes:
data-class: form-type-vertical-tabs
selector: .form-type-vertical-tabs

View File

@ -25,85 +25,74 @@ tips:
label: 'Index status'
body: 'This gives a summary about how many items are known for this index, and how many have been indexed in their latest version. Items that are not indexed yet cannot be found by searches.'
weight: 2
attributes:
data-class: search-api-index-status
selector: .search-api-index-status
search-api-index-status:
id: search-api-index-status
plugin: text
label: Status
body: 'Shows whether the index is currently enabled or disabled.'
weight: 3
attributes:
data-class: search-api-index-summary--status
selector: .search-api-index-summary--status
search-api-index-datasources:
id: search-api-index-datasources
plugin: text
label: Datasources
body: 'Lists all datasources that are enabled for this index.'
weight: 4
attributes:
data-class: search-api-index-summary--datasource
selector: .search-api-index-summary--datasource
search-api-index-tracker:
id: search-api-index-tracker
plugin: text
label: Tracker
body: 'The tracker used by the index. Only one ("Default") is available by default.'
weight: 5
attributes:
data-class: search-api-index-summary--tracker
selector: .search-api-index-summary--tracker
search-api-index-server:
id: search-api-index-server
plugin: text
label: Server
body: 'If the index is attached to a server, this server is listed here.'
weight: 6
attributes:
data-class: search-api-index-summary--server
selector: .search-api-index-summary--server
search-api-index-server-index-status:
id: search-api-index-server-index-status
plugin: text
label: 'Server index status'
body: 'For enabled indexes, the number of items that can actually be retrieved from the server is listed here. For reasons why this number might differ from the number under "Index status", <a href="https://www.drupal.org/docs/8/modules/search-api/getting-started/frequently-asked-questions#server-index-status">see the module''s documentation</a>.'
weight: 7
attributes:
data-class: search-api-index-summary--server-index-status
selector: .search-api-index-summary--server-index-status
search-api-index-cron-batch-size:
id: search-api-index-cron-batch-size
plugin: text
label: 'Cron batch size'
body: 'The number of items that will be indexed at once during cron runs.'
weight: 8
attributes:
data-class: search-api-index-summary--cron-batch-size
selector: .search-api-index-summary--cron-batch-size
search-api-index-index-now:
id: search-api-index-remove
plugin: text
label: 'Start indexing now'
body: 'The "Start indexing now" form allows indexing items manually right away, with a batch process. Otherwise, items are only indexed during cron runs. The form might be disabled if indexing is currently not possible for some reason, or not necessary.'
weight: 9
attributes:
data-id: edit-index
selector: '#edit-index'
search-api-index-tracking:
id: search-api-index-tracking
plugin: text
label: 'Track items for index'
body: 'In certain situations, the index''s tracker doesn''t have the latest state of the items available for indexing. This will be automatically rectified during cron runs, but can also be manually triggered here, with the "Track now" button.'
weight: 10
attributes:
data-id: edit-tracking
selector: '#edit-tracking'
search-api-index-reindex:
id: search-api-index-reindex
plugin: text
label: 'Queue all items for reindexing'
body: 'This will queue all items on this index for reindexing. Previously indexed data will remain on the search server, so searches on this index will continue to yield results.'
weight: 11
attributes:
data-id: edit-reindex
selector: '#edit-reindex'
search-api-index-clear:
id: search-api-index-clear
plugin: text
label: 'Clear all indexed data'
body: 'This will remove all indexed content for this index from the search server and queue it for reindexing. Searches on this index will not return any results until items are reindexed.'
weight: 12
attributes:
data-id: edit-clear
selector: '#edit-clear'

View File

@ -27,21 +27,18 @@ tips:
label: 'Server name'
body: 'Enter a name to identify this server. For example, "Solr server". This will only be displayed in the admin user interface.'
weight: 2
attributes:
data-id: edit-name
selector: '#edit-name'
search-api-server-form-description:
id: search-api-server-form-description
plugin: text
label: 'Server description'
body: 'Optionally, enter a description to explain the function of the server in more detail. This will only be displayed in the admin user interface.'
weight: 3
attributes:
data-id: edit-description
selector: '#edit-description'
search-api-server-form-backend:
id: search-api-server-form-backend
plugin: text
label: 'Server backend'
body: 'Servers can be based on different technologies. These are called "backends". A server uses exactly one backend and cannot change it later. You can make the "Database" backend available by enabling the "Database Search" module. Another very common backend is <a href="https://www.drupal.org/project/search_api_solr">"Solr"</a>, which requires to be set up separately.'
weight: 4
attributes:
data-id: edit-backend
selector: '#edit-backend'

View File

@ -25,29 +25,25 @@ tips:
label: Status
body: 'Shows whether the server is currently enabled or disabled.'
weight: 2
attributes:
data-class: search-api-server-summary--status
selector: .search-api-server-summary--status
search-api-server-backend:
id: search-api-server-backend
plugin: text
label: 'Backend class'
body: 'The backend plugin used for this server. The backend plugin determines how items are indexed and searched for example, using the database or an Apache Solr server.'
weight: 3
attributes:
data-class: search-api-server-summary--backend
selector: .search-api-server-summary--backend
search-api-server-indexes:
id: search-api-server-indexes
plugin: text
label: 'Search indexes'
body: 'Lists all search indexes that are attached to this server.'
weight: 4
attributes:
data-class: search-api-server-summary--indexes
selector: .search-api-server-summary--indexes
search-api-server-clear:
id: search-api-server-clear
plugin: text
label: 'Delete all indexed data'
body: 'This will permanently remove all data currently indexed on this server for indexes that aren''t read-only. Items are queued for reindexing. Until reindexing occurs, searches for the affected indexes will not return any results.'
weight: 5
attributes:
data-id: edit-clear
selector: '#edit-clear'

View File

@ -27,71 +27,62 @@ tips:
label: 'Displays in this view'
body: 'A display is a way of outputting the results, e.g., as a page or a block. A view can contain multiple displays, which are listed here. The active display is highlighted.'
weight: 2
attributes:
data-id: views-display-top
selector: '#views-display-top'
views-ui-view-admin:
id: views-ui-view-admin
plugin: text
label: 'View administration'
body: 'Perform administrative tasks, including adding a description and creating a clone. Click the drop-down button to view the available options.'
weight: 3
location: left
attributes:
data-id: views-display-extra-actions
selector: '#views-display-extra-actions'
position: left-start
views-ui-format:
id: views-ui-format
plugin: text
label: 'Output format'
body: 'Choose how to output results. E.g., choose <em>Content</em> to output each item completely, using your configured display settings. Or choose <em>Fields</em>, which allows you to output only specific fields for each result. Additional formats can be added by installing modules to <em>extend</em> Drupal''s base functionality.'
weight: 4
attributes:
data-class: views-ui-display-tab-bucket.format
selector: .views-ui-display-tab-bucket.format
views-ui-fields:
id: views-ui-fields
plugin: text
label: Fields
body: 'If this view uses fields, they are listed here. You can click on a field to configure it.'
weight: 5
attributes:
data-class: views-ui-display-tab-bucket.field
selector: .views-ui-display-tab-bucket.field
views-ui-filter:
id: views-ui-filter
plugin: text
label: 'Filter your view'
body: 'Add filters to limit the results in the output. E.g., to only show content that is <em>published</em>, you would add a filter for <em>Published</em> and select <em>Yes</em>.'
weight: 6
attributes:
data-class: views-ui-display-tab-bucket.filter
selector: .views-ui-display-tab-bucket.filter
views-ui-filter-operations:
id: views-ui-filter-operations
plugin: text
label: 'Filter actions'
body: 'Add, rearrange or remove filters.'
weight: 7
attributes:
data-class: 'views-ui-display-tab-bucket.filter .dropbutton-widget'
selector: '.views-ui-display-tab-bucket.filter .dropbutton-widget'
views-ui-sorts:
id: views-ui-sorts
plugin: text
label: 'Sort Criteria'
body: 'Control the order in which the results are output. Click on an active sort rule to configure it.'
weight: 8
attributes:
data-class: views-ui-display-tab-bucket.sort
selector: .views-ui-display-tab-bucket.sort
views-ui-sorts-operations:
id: views-ui-sorts-operations
plugin: text
label: 'Sort actions'
body: 'Add, rearrange or remove sorting rules.'
weight: 9
attributes:
data-class: 'views-ui-display-tab-bucket.sort .dropbutton-widget'
selector: '.views-ui-display-tab-bucket.sort .dropbutton-widget'
views-ui-preview:
id: views-ui-preview
plugin: text
label: Preview
body: 'Show a preview of the view output.'
weight: 10
location: left
attributes:
data-id: preview-submit
selector: '#preview-submit'
position: left-start

View File

@ -20,88 +20,12 @@ base_table: oc_actor_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
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: '{{ status }}'
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
status: status
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
title: 'All trainers'
fields:
name:
id: name
@ -110,6 +34,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
@ -165,9 +92,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
status:
id: status
table: oc_actor_field_data
@ -175,6 +99,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: status
plugin_id: field
label: 'Publishing status'
exclude: true
alter:
@ -220,8 +147,8 @@ display:
type: boolean
settings:
format: default
format_custom_true: ''
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
@ -232,29 +159,117 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
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
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
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
empty: { }
sorts:
name:
id: name
table: oc_actor_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: status
plugin_id: field
entity_field: name
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: { }
filters:
type:
id: type
table: oc_actor_field_data
field: type
value:
trainer: trainer
entity_type: oc_actor
entity_field: type
plugin_id: bundle
value:
trainer: trainer
expose:
operator_limit_selection: false
operator_list: { }
sorts: { }
title: 'All trainers'
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
columns:
name: name
status: status
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
@ -265,9 +280,9 @@ display:
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
@ -276,11 +291,11 @@ display:
type: normal
title: Trainers
description: ''
expanded: false
parent: opencase.see_all
weight: -48
context: '0'
expanded: false
menu_name: opencase
parent: opencase.see_all
context: '0'
cache_metadata:
max-age: -1
contexts: