diff --git a/README.md b/README.md index ec00ea0..311bd4b 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,12 @@ * `drush config-set "system.site" uuid "0c85ec7c-68f9-419f-92bb-d9a3a256ca23"` (this allows you to import & export config to other sites built using this repo) * `drush config:delete shortcut.set.default` (it always complains about the shortcut set already existing when you try to import the config) * `drush config:import --source ../config` -* Appearance->Settings->Bartik and just save what's in there (to regenerate css) \ No newline at end of file +* Appearance->Settings->Bartik and just save what's in there (to regenerate css) + +# dev + +To export the config run: `drush config:export --destination=../config ` + +To clear cache run: `drush cr` + + diff --git a/config/core.entity_form_display.contact_message.contact_opencase.default.yml b/config/core.entity_form_display.contact_message.contact_opencase.default.yml index a9064b7..ac515a6 100644 --- a/config/core.entity_form_display.contact_message.contact_opencase.default.yml +++ b/config/core.entity_form_display.contact_message.contact_opencase.default.yml @@ -20,10 +20,10 @@ content: message: type: string_textarea weight: 0 + region: content settings: rows: 12 placeholder: '' - region: content third_party_settings: { } name: weight: -50 diff --git a/config/core.entity_form_display.oc_activity.application.default.yml b/config/core.entity_form_display.oc_activity.application.default.yml index 7dc9fb5..1d20d77 100644 --- a/config/core.entity_form_display.oc_activity.application.default.yml +++ b/config/core.entity_form_display.oc_activity.application.default.yml @@ -45,6 +45,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } time_taken: type: number weight: 3 diff --git a/config/core.entity_form_display.oc_activity.case_note.default.yml b/config/core.entity_form_display.oc_activity.case_note.default.yml index 55507e2..c3689f6 100644 --- a/config/core.entity_form_display.oc_activity.case_note.default.yml +++ b/config/core.entity_form_display.oc_activity.case_note.default.yml @@ -17,6 +17,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } time_taken: type: number weight: -3 @@ -26,5 +38,7 @@ content: third_party_settings: { } hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true status: true diff --git a/config/core.entity_form_display.oc_activity.destitution_funds_provided.default.yml b/config/core.entity_form_display.oc_activity.destitution_funds_provided.default.yml index 0f5f1d1..c584be6 100644 --- a/config/core.entity_form_display.oc_activity.destitution_funds_provided.default.yml +++ b/config/core.entity_form_display.oc_activity.destitution_funds_provided.default.yml @@ -32,6 +32,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } time_taken: type: number weight: -3 @@ -41,5 +53,7 @@ content: third_party_settings: { } hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true status: true diff --git a/config/core.entity_form_display.oc_activity.volunteer_training_session.default.yml b/config/core.entity_form_display.oc_activity.volunteer_training_session.default.yml index f2552f0..a9f6c1d 100644 --- a/config/core.entity_form_display.oc_activity.volunteer_training_session.default.yml +++ b/config/core.entity_form_display.oc_activity.volunteer_training_session.default.yml @@ -35,6 +35,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } time_taken: type: number weight: -3 @@ -44,5 +56,7 @@ content: third_party_settings: { } hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true status: true diff --git a/config/core.entity_form_display.oc_actor.client.default.yml b/config/core.entity_form_display.oc_actor.client.default.yml index 27e3c91..85b13d7 100644 --- a/config/core.entity_form_display.oc_actor.client.default.yml +++ b/config/core.entity_form_display.oc_actor.client.default.yml @@ -204,6 +204,18 @@ content: rows: 5 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } user_id: type: entity_reference_autocomplete weight: 5 diff --git a/config/core.entity_form_display.oc_case.accommodation.default.yml b/config/core.entity_form_display.oc_case.accommodation.default.yml index 8344cd4..1952a60 100644 --- a/config/core.entity_form_display.oc_case.accommodation.default.yml +++ b/config/core.entity_form_display.oc_case.accommodation.default.yml @@ -64,6 +64,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.asylum_support.default.yml b/config/core.entity_form_display.oc_case.asylum_support.default.yml index 6ca10ef..ae5878e 100644 --- a/config/core.entity_form_display.oc_case.asylum_support.default.yml +++ b/config/core.entity_form_display.oc_case.asylum_support.default.yml @@ -54,6 +54,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.employability.default.yml b/config/core.entity_form_display.oc_case.employability.default.yml index f3055dc..b427746 100644 --- a/config/core.entity_form_display.oc_case.employability.default.yml +++ b/config/core.entity_form_display.oc_case.employability.default.yml @@ -62,6 +62,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.enquiry.default.yml b/config/core.entity_form_display.oc_case.enquiry.default.yml index c1249c4..fd53fc3 100644 --- a/config/core.entity_form_display.oc_case.enquiry.default.yml +++ b/config/core.entity_form_display.oc_case.enquiry.default.yml @@ -34,6 +34,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.health.default.yml b/config/core.entity_form_display.oc_case.health.default.yml index e198e9a..ac5ae4c 100644 --- a/config/core.entity_form_display.oc_case.health.default.yml +++ b/config/core.entity_form_display.oc_case.health.default.yml @@ -54,6 +54,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.immigration.default.yml b/config/core.entity_form_display.oc_case.immigration.default.yml index 08df1e7..bfa901e 100644 --- a/config/core.entity_form_display.oc_case.immigration.default.yml +++ b/config/core.entity_form_display.oc_case.immigration.default.yml @@ -61,6 +61,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.pro_bono_immigration_service.default.yml b/config/core.entity_form_display.oc_case.pro_bono_immigration_service.default.yml index a1c4d89..7f493d3 100644 --- a/config/core.entity_form_display.oc_case.pro_bono_immigration_service.default.yml +++ b/config/core.entity_form_display.oc_case.pro_bono_immigration_service.default.yml @@ -25,6 +25,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case.welfare_rights.default.yml b/config/core.entity_form_display.oc_case.welfare_rights.default.yml index 4656647..9ee39e2 100644 --- a/config/core.entity_form_display.oc_case.welfare_rights.default.yml +++ b/config/core.entity_form_display.oc_case.welfare_rights.default.yml @@ -54,6 +54,18 @@ content: settings: progress_indicator: throbber third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } hidden: notes: true status: true diff --git a/config/core.entity_form_display.oc_case_fee.fee.default.yml b/config/core.entity_form_display.oc_case_fee.fee.default.yml index 63a98e8..9b2ad4a 100644 --- a/config/core.entity_form_display.oc_case_fee.fee.default.yml +++ b/config/core.entity_form_display.oc_case_fee.fee.default.yml @@ -27,6 +27,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } user_id: type: entity_reference_autocomplete weight: 2 diff --git a/config/core.entity_form_display.oc_case_provision.caseworker.default.yml b/config/core.entity_form_display.oc_case_provision.caseworker.default.yml index bf191b2..e29de23 100644 --- a/config/core.entity_form_display.oc_case_provision.caseworker.default.yml +++ b/config/core.entity_form_display.oc_case_provision.caseworker.default.yml @@ -39,6 +39,18 @@ content: size: 60 placeholder: '' third_party_settings: { } + revision_log: + type: hide_revision_field_log_widget + weight: 80 + region: content + settings: + rows: 5 + placeholder: '' + show: true + default: '' + permission_based: false + allow_user_settings: true + third_party_settings: { } user_id: type: entity_reference_autocomplete weight: 3 diff --git a/config/core.entity_view_display.block_content.basic.default.yml b/config/core.entity_view_display.block_content.basic.default.yml index 05059ae..c3d5569 100644 --- a/config/core.entity_view_display.block_content.basic.default.yml +++ b/config/core.entity_view_display.block_content.basic.default.yml @@ -21,4 +21,5 @@ content: third_party_settings: { } weight: 0 region: content -hidden: { } +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.comment.comment.default.yml b/config/core.entity_view_display.comment.comment.default.yml index 9ee8a68..a575c2e 100644 --- a/config/core.entity_view_display.comment.comment.default.yml +++ b/config/core.entity_view_display.comment.comment.default.yml @@ -24,4 +24,5 @@ content: links: weight: 100 region: content -hidden: { } +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.contact_message.contact_opencase.default.yml b/config/core.entity_view_display.contact_message.contact_opencase.default.yml index 032a63e..b112f02 100644 --- a/config/core.entity_view_display.contact_message.contact_opencase.default.yml +++ b/config/core.entity_view_display.contact_message.contact_opencase.default.yml @@ -13,10 +13,11 @@ mode: default content: message: type: string - weight: 0 label: above - region: content settings: link_to_entity: false third_party_settings: { } -hidden: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.node.article.default.yml b/config/core.entity_view_display.node.article.default.yml index 9523cb2..11bc603 100644 --- a/config/core.entity_view_display.node.article.default.yml +++ b/config/core.entity_view_display.node.article.default.yml @@ -60,4 +60,5 @@ content: third_party_settings: { } weight: 100 region: content -hidden: { } +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.node.article.rss.yml b/config/core.entity_view_display.node.article.rss.yml index 9adff54..dd6fd16 100644 --- a/config/core.entity_view_display.node.article.rss.yml +++ b/config/core.entity_view_display.node.article.rss.yml @@ -26,3 +26,4 @@ hidden: comment: true field_image: true field_tags: true + search_api_excerpt: true diff --git a/config/core.entity_view_display.node.article.search_index.yml b/config/core.entity_view_display.node.article.search_index.yml index eeb88c0..bccd3c2 100644 --- a/config/core.entity_view_display.node.article.search_index.yml +++ b/config/core.entity_view_display.node.article.search_index.yml @@ -23,26 +23,26 @@ mode: search_index content: body: type: text_default - weight: 0 + label: hidden settings: { } third_party_settings: { } - label: hidden + weight: 0 region: content comment: type: comment_default - weight: 2 + label: hidden settings: pager_id: 0 third_party_settings: { } - label: hidden + weight: 2 region: content field_tags: type: entity_reference_label - weight: 1 + label: hidden settings: link: false third_party_settings: { } - label: hidden + weight: 1 region: content hidden: field_image: true diff --git a/config/core.entity_view_display.node.article.search_result.yml b/config/core.entity_view_display.node.article.search_result.yml index d004bbc..44317d2 100644 --- a/config/core.entity_view_display.node.article.search_result.yml +++ b/config/core.entity_view_display.node.article.search_result.yml @@ -23,25 +23,25 @@ mode: search_result content: body: type: text_summary_or_trimmed - weight: 1 + label: hidden settings: trim_length: 300 third_party_settings: { } - label: hidden + weight: 1 region: content field_image: type: image - weight: 0 - settings: - image_style: thumbnail - image_link: content - third_party_settings: { } label: hidden + settings: + image_link: content + image_style: thumbnail + third_party_settings: { } + weight: 0 region: content links: - weight: 2 settings: { } third_party_settings: { } + weight: 2 region: content hidden: comment: true diff --git a/config/core.entity_view_display.node.article.teaser.yml b/config/core.entity_view_display.node.article.teaser.yml index 1cfc718..bca45d3 100644 --- a/config/core.entity_view_display.node.article.teaser.yml +++ b/config/core.entity_view_display.node.article.teaser.yml @@ -53,3 +53,4 @@ hidden: comment: true field_image: true field_tags: true + search_api_excerpt: true diff --git a/config/core.entity_view_display.node.page.default.yml b/config/core.entity_view_display.node.page.default.yml index fa855ab..ccbd141 100644 --- a/config/core.entity_view_display.node.page.default.yml +++ b/config/core.entity_view_display.node.page.default.yml @@ -25,4 +25,5 @@ content: links: weight: 101 region: content -hidden: { } +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.node.page.search_index.yml b/config/core.entity_view_display.node.page.search_index.yml index 1648004..5d3548b 100644 --- a/config/core.entity_view_display.node.page.search_index.yml +++ b/config/core.entity_view_display.node.page.search_index.yml @@ -18,10 +18,10 @@ mode: search_index content: body: type: text_default - weight: 0 + label: hidden settings: { } third_party_settings: { } - label: hidden + weight: 0 region: content hidden: links: true diff --git a/config/core.entity_view_display.node.page.search_result.yml b/config/core.entity_view_display.node.page.search_result.yml index 6729edb..f88b3f1 100644 --- a/config/core.entity_view_display.node.page.search_result.yml +++ b/config/core.entity_view_display.node.page.search_result.yml @@ -18,16 +18,16 @@ mode: search_result content: body: type: text_summary_or_trimmed - weight: 100 + label: hidden settings: trim_length: 300 third_party_settings: { } - label: hidden + weight: 100 region: content links: - weight: 101 settings: { } third_party_settings: { } + weight: 101 region: content hidden: search_api_excerpt: true diff --git a/config/core.entity_view_display.node.page.teaser.yml b/config/core.entity_view_display.node.page.teaser.yml index 64bc62b..435b153 100644 --- a/config/core.entity_view_display.node.page.teaser.yml +++ b/config/core.entity_view_display.node.page.teaser.yml @@ -27,4 +27,5 @@ content: links: weight: 101 region: content -hidden: { } +hidden: + search_api_excerpt: true diff --git a/config/core.entity_view_display.oc_activity.case_note.default.yml b/config/core.entity_view_display.oc_activity.case_note.default.yml index 0861c77..c4c003c 100644 --- a/config/core.entity_view_display.oc_activity.case_note.default.yml +++ b/config/core.entity_view_display.oc_activity.case_note.default.yml @@ -39,5 +39,7 @@ content: region: content hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true search_api_excerpt: true diff --git a/config/core.entity_view_display.oc_activity.destitution_funds_provided.default.yml b/config/core.entity_view_display.oc_activity.destitution_funds_provided.default.yml index bd992fc..dd9ced8 100644 --- a/config/core.entity_view_display.oc_activity.destitution_funds_provided.default.yml +++ b/config/core.entity_view_display.oc_activity.destitution_funds_provided.default.yml @@ -60,5 +60,7 @@ content: region: content hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true search_api_excerpt: true diff --git a/config/core.entity_view_display.oc_activity.volunteer_training_session.default.yml b/config/core.entity_view_display.oc_activity.volunteer_training_session.default.yml index 92daecf..45ec2ff 100644 --- a/config/core.entity_view_display.oc_activity.volunteer_training_session.default.yml +++ b/config/core.entity_view_display.oc_activity.volunteer_training_session.default.yml @@ -59,5 +59,7 @@ content: region: content hidden: activity_date_time: true + description: true oc_provider: true + oc_target: true search_api_excerpt: true diff --git a/config/core.entity_view_display.oc_case_fee.fee.default.yml b/config/core.entity_view_display.oc_case_fee.fee.default.yml index 9e4efcb..856054e 100644 --- a/config/core.entity_view_display.oc_case_fee.fee.default.yml +++ b/config/core.entity_view_display.oc_case_fee.fee.default.yml @@ -19,14 +19,6 @@ content: third_party_settings: { } weight: 1 region: content - oc_case: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 0 - region: content user_id: type: author label: above diff --git a/config/core.entity_view_display.oc_case_provision.caseworker.default.yml b/config/core.entity_view_display.oc_case_provision.caseworker.default.yml index f3a014b..ac71565 100644 --- a/config/core.entity_view_display.oc_case_provision.caseworker.default.yml +++ b/config/core.entity_view_display.oc_case_provision.caseworker.default.yml @@ -11,14 +11,6 @@ targetEntityType: oc_case_provision bundle: caseworker mode: default content: - oc_case: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 0 - region: content oc_case_provider_role: type: entity_reference_label label: above @@ -45,3 +37,4 @@ content: hidden: name: true search_api_excerpt: true + status: true diff --git a/config/core.entity_view_display.user.user.compact.yml b/config/core.entity_view_display.user.user.compact.yml index 8980580..2f25ffc 100644 --- a/config/core.entity_view_display.user.user.compact.yml +++ b/config/core.entity_view_display.user.user.compact.yml @@ -29,3 +29,4 @@ content: hidden: field_linked_opencase_actor: true member_for: true + search_api_excerpt: true diff --git a/config/core.entity_view_display.user.user.default.yml b/config/core.entity_view_display.user.user.default.yml index 84052ca..b8779df 100644 --- a/config/core.entity_view_display.user.user.default.yml +++ b/config/core.entity_view_display.user.user.default.yml @@ -30,3 +30,4 @@ content: region: content hidden: field_linked_opencase_actor: true + search_api_excerpt: true diff --git a/config/search_api.index.default_index.yml b/config/search_api.index.default_index.yml index aa56d8b..5b9d873 100644 --- a/config/search_api.index.default_index.yml +++ b/config/search_api.index.default_index.yml @@ -17,35 +17,35 @@ read_only: false field_settings: author: label: 'Author name' - type: string datasource_id: 'entity:node' property_path: 'uid:entity:name' + type: string changed: label: Changed - type: date datasource_id: 'entity:node' property_path: changed + type: date created: label: 'Authored on' - type: date datasource_id: 'entity:node' property_path: created + type: date field_tags: label: Tags - type: integer datasource_id: 'entity:node' property_path: field_tags + type: integer node_grants: label: 'Node access information' - type: string property_path: search_api_node_grants + type: string indexed_locked: true type_locked: true hidden: true rendered_item: label: 'Rendered item' - type: text property_path: rendered_item + type: text configuration: roles: anonymous: anonymous @@ -55,32 +55,32 @@ field_settings: page: search_index status: label: 'Publishing status' - type: boolean datasource_id: 'entity:node' property_path: status + type: boolean indexed_locked: true type_locked: true sticky: label: 'Sticky at top of lists' - type: boolean datasource_id: 'entity:node' property_path: sticky + type: boolean title: label: Title - type: text datasource_id: 'entity:node' property_path: title - boost: 8 + type: text + boost: !!float 8 type: label: 'Content type' - type: string datasource_id: 'entity:node' property_path: type + type: string uid: label: 'Author ID' - type: integer datasource_id: 'entity:node' property_path: uid + type: integer indexed_locked: true type_locked: true datasource_settings: @@ -108,11 +108,11 @@ processor_settings: title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 string: 2 - b: 2 ignorecase: weights: preprocess_index: -5 @@ -126,8 +126,8 @@ processor_settings: pre_index_save: -10 stopwords: weights: - preprocess_query: -10 postprocess_query: -10 + preprocess_query: -10 fields: - rendered_item - title diff --git a/config/tour.tour.search-api-index-fields.yml b/config/tour.tour.search-api-index-fields.yml index 9db152a..e229361 100644 --- a/config/tour.tour.search-api-index-fields.yml +++ b/config/tour.tour.search-api-index-fields.yml @@ -17,75 +17,75 @@ tips: id: search-api-index-fields-introduction plugin: text label: 'Fields indexed in this index' - body: 'This page lists which fields are indexed in this index, grouped by datasource. (Datasource-independent fields are listed under "General".) Indexed fields can be used to add filters or sorting to views or other search displays based on the index. Fields with type "Fulltext" can also be used for fulltext searching.' weight: 1 + body: 'This page lists which fields are indexed in this index, grouped by datasource. (Datasource-independent fields are listed under "General".) Indexed fields can be used to add filters or sorting to views or other search displays based on the index. Fields with type "Fulltext" can also be used for fulltext searching.' search-api-index-fields-add: id: search-api-index-fields-add plugin: text label: 'Add fields' - body: 'With the "Add fields" button you can add additional fields to this index.' weight: 2 selector: '.button-action[data-drupal-selector="edit-add-field"]' + body: 'With the "Add fields" button you can add additional fields to this index.' 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 selector: '.details-wrapper:nth(0) table thead th:nth(0)' + body: 'A label for the field that will be used to refer to the field in most places in the user interface.' 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 selector: '.details-wrapper:nth(0) table thead th:nth(1)' + 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.' 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 selector: '.details-wrapper:nth(0) table thead th:nth(2)' + 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.' 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 "Data types" box at the bottom of the page.' weight: 6 selector: '.details-wrapper:nth(0) table thead th:nth(3)' + 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 "Data types" box at the bottom of the page.' 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 selector: '.details-wrapper:nth(0) table thead th:nth(4)' + body: 'Only applicable for fulltext fields. Determines how "important" the field is compared to other fulltext fields, to influence scoring of fulltext searches.' 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 selector: '.details-wrapper:nth(0) table tbody td:nth(5) a' + body: 'Some fields have additional configuration available, in which case an "Edit" link is displayed in the "Operations" column.' 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 selector: '.details-wrapper:nth(0) table tbody td:nth(6) a' + body: 'Removes a field from the index again. (Note: Sometimes, a field is required (for example, by a processor) and cannot be removed.)' 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 selector: '#edit-actions-submit' + 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.' 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 selector: '#edit-actions-cancel' + body: 'If you have made changes to the index''s fields but not yet saved them, the "Cancel" link lets you discard those changes.' diff --git a/config/tour.tour.search-api-index-form.yml b/config/tour.tour.search-api-index-form.yml index 06818cb..be22951 100644 --- a/config/tour.tour.search-api-index-form.yml +++ b/config/tour.tour.search-api-index-form.yml @@ -19,47 +19,47 @@ tips: id: search-api-index-form-introduction plugin: text label: 'Adding or editing an index' - body: 'This form can be used to edit an existing index or add a new index to your site. Indexes define a set of data that will be indexed and can then be searched.' weight: 1 + body: 'This form can be used to edit an existing index or add a new index to your site. Indexes define a set of data that will be indexed and can then be searched.' search-api-index-form-name: id: search-api-index-form-name plugin: text 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 selector: '#edit-name' + body: 'Enter a name to identify this index. For example, "Content index". This will only be displayed in the admin user interface.' 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 selector: '#edit-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.' 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 selector: '#edit-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.' 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 selector: '#edit-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.' 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 selector: '#edit-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.' 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 selector: '#edit-options' + body: 'These options allow more detailed configuration of index behavior, but can usually safely be ignored by inexperienced users.' diff --git a/config/tour.tour.search-api-index-processors.yml b/config/tour.tour.search-api-index-processors.yml index 285100b..9612d1e 100644 --- a/config/tour.tour.search-api-index-processors.yml +++ b/config/tour.tour.search-api-index-processors.yml @@ -17,26 +17,26 @@ tips: id: search-api-index-processors-introduction plugin: text label: 'Processors used for this index' - body: 'Processors customize different aspects of an index''s functionality. They can keep items from being indexed, change how certain fields are indexed and influence searches.' weight: 1 + body: 'Processors customize different aspects of an index''s functionality. They can keep items from being indexed, change how certain fields are indexed and influence searches.' search-api-index-processors-enable: id: search-api-index-processors-enable plugin: text 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 selector: '#edit-status' + 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.)' 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 selector: '#edit-weights' + 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.' 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 selector: .form-type-vertical-tabs + body: 'Some processors have additional configuration available, which you are able to change here.' diff --git a/config/tour.tour.search-api-index.yml b/config/tour.tour.search-api-index.yml index 11c23d7..603cfd9 100644 --- a/config/tour.tour.search-api-index.yml +++ b/config/tour.tour.search-api-index.yml @@ -17,82 +17,82 @@ tips: id: search-api-index-introduction plugin: text label: 'Information about an index' - body: 'This page shows a summary of a search index and its status.' weight: 1 + body: 'This page shows a summary of a search index and its status.' search-api-index-index-status: id: search-api-index-index-status plugin: text 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 selector: .search-api-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.' 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 selector: .search-api-index-summary--status + body: 'Shows whether the index is currently enabled or disabled.' 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 selector: .search-api-index-summary--datasource + body: 'Lists all datasources that are enabled for this index.' 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 selector: .search-api-index-summary--tracker + body: 'The tracker used by the index. Only one ("Default") is available by default.' 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 selector: .search-api-index-summary--server + body: 'If the index is attached to a server, this server is listed here.' 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", see the module''s documentation.' weight: 7 selector: .search-api-index-summary--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", see the module''s documentation.' 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 selector: .search-api-index-summary--cron-batch-size + body: 'The number of items that will be indexed at once during cron runs.' 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 selector: '#edit-index' + 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.' 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 selector: '#edit-tracking' + 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.' 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 selector: '#edit-reindex' + 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.' 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 selector: '#edit-clear' + 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.' diff --git a/config/tour.tour.search-api-server-form.yml b/config/tour.tour.search-api-server-form.yml index fce1c6c..56df6eb 100644 --- a/config/tour.tour.search-api-server-form.yml +++ b/config/tour.tour.search-api-server-form.yml @@ -19,26 +19,26 @@ tips: id: search-api-server-form-introduction plugin: text label: 'Adding or editing a Server' - body: 'This form can be used to edit an existing server or add a new server to your site. Servers will hold your indexed data.' weight: 1 + body: 'This form can be used to edit an existing server or add a new server to your site. Servers will hold your indexed data.' search-api-server-form-name: id: search-api-server-form-name plugin: text 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 selector: '#edit-name' + body: 'Enter a name to identify this server. For example, "Solr server". This will only be displayed in the admin user interface.' 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 selector: '#edit-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.' 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 "Solr", which requires to be set up separately.' weight: 4 selector: '#edit-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 "Solr", which requires to be set up separately.' diff --git a/config/tour.tour.search-api-server.yml b/config/tour.tour.search-api-server.yml index 651fc1c..ef3861f 100644 --- a/config/tour.tour.search-api-server.yml +++ b/config/tour.tour.search-api-server.yml @@ -17,33 +17,33 @@ tips: id: search-api-server-introduction plugin: text label: 'Information about a server' - body: 'This page shows a summary of a search server.' weight: 1 + body: 'This page shows a summary of a search server.' search-api-server-status: id: search-api-server-status plugin: text label: Status - body: 'Shows whether the server is currently enabled or disabled.' weight: 2 selector: .search-api-server-summary--status + body: 'Shows whether the server is currently enabled or disabled.' 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 selector: .search-api-server-summary--backend + 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.' 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 selector: .search-api-server-summary--indexes + body: 'Lists all search indexes that are attached to this server.' 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 selector: '#edit-clear' + 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.' diff --git a/config/views.view.contact_details_changes.yml b/config/views.view.contact_details_changes.yml index 8c0f016..90ee314 100644 --- a/config/views.view.contact_details_changes.yml +++ b/config/views.view.contact_details_changes.yml @@ -16,114 +16,12 @@ base_table: oc_actor_field_revision base_field: vid display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'view published client entities' - 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: none - options: - offset: 0 - style: - type: table - options: - grouping: - 1: - field: view_oc_actor - rendered: true - rendered_strip: false - row_class: '' - default_row_class: true - override: true - sticky: false - caption: '' - summary: '' - description: '' - columns: - first_name: first_name - middle_names: middle_names - last_name: last_name - id: id - revision_created: revision_created - view_oc_actor: view_oc_actor - info: - first_name: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - middle_names: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - last_name: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - id: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - revision_created: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - view_oc_actor: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - default: '-1' - empty_table: false - row: - type: fields - options: - inline: { } - separator: '' - hide_empty: false - default_field_elements: true + title: 'Contact Details History' fields: revision_created: id: revision_created @@ -132,6 +30,9 @@ display: relationship: none group_type: min admin_label: '' + entity_type: oc_actor + entity_field: revision_created + plugin_id: field label: Date exclude: false alter: @@ -173,14 +74,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - set_precision: false - precision: 0 - decimal: . - separator: '' - format_plural: 0 - format_plural_string: !!binary MQNAY291bnQ= - prefix: '' - suffix: '' click_sort_column: value type: timestamp settings: { } @@ -192,10 +85,15 @@ display: delta_reversed: false delta_first_last: false multi_type: separator + separator: '' field_api_classes: false - entity_type: oc_actor - entity_field: revision_created - plugin_id: field + set_precision: false + precision: 0 + decimal: . + format_plural: 0 + format_plural_string: !!binary MQNAY291bnQ= + prefix: '' + suffix: '' first_name: id: first_name table: oc_actor_field_revision @@ -203,6 +101,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: first_name + plugin_id: field label: 'First Name' exclude: false alter: @@ -258,9 +159,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: first_name - plugin_id: field middle_names: id: middle_names table: oc_actor_field_revision @@ -268,6 +166,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: middle_names + plugin_id: field label: 'Middle Names' exclude: false alter: @@ -323,9 +224,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: middle_names - plugin_id: field last_name: id: last_name table: oc_actor_field_revision @@ -333,6 +231,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: last_name + plugin_id: field label: 'Last Name' exclude: false alter: @@ -388,9 +289,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: last_name - plugin_id: field email: id: email table: oc_actor_field_revision @@ -398,6 +296,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: email + plugin_id: field label: 'Email Address' exclude: false alter: @@ -453,9 +354,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: email - plugin_id: field phone: id: phone table: oc_actor_field_revision @@ -463,6 +361,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: phone + plugin_id: field label: 'Main Phone Number' exclude: false alter: @@ -518,9 +419,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: phone - plugin_id: field phone2: id: phone2 table: oc_actor_field_revision @@ -528,6 +426,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: phone2 + plugin_id: field label: 'Alternative Phone Number' exclude: false alter: @@ -583,9 +484,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: phone2 - plugin_id: field postal_address: id: postal_address table: oc_actor_field_revision @@ -593,6 +491,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: postal_address + plugin_id: field label: 'Postal Address' exclude: false alter: @@ -647,9 +548,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: postal_address - plugin_id: field post_code: id: post_code table: oc_actor_field_revision @@ -657,6 +555,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: post_code + plugin_id: field label: 'Post Code' exclude: false alter: @@ -712,9 +613,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: oc_actor - entity_field: post_code - plugin_id: field view_oc_actor: id: view_oc_actor table: oc_actor_field_revision @@ -722,6 +620,8 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + plugin_id: entity_link label: '' exclude: true alter: @@ -766,9 +666,28 @@ display: text: 'See "rewrite results" (had to do it that way because contains HTML).' output_url_as_text: false absolute: false - entity_type: oc_actor - plugin_id: entity_link - filters: { } + pager: + type: none + options: + offset: 0 + 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: perm + options: + perm: 'view published client entities' + cache: + type: tag + options: { } + empty: { } sorts: revision_created: id: revision_created @@ -777,19 +696,15 @@ display: relationship: none group_type: min admin_label: '' - order: DESC - exposed: false - expose: - label: '' - field_identifier: revision_created - granularity: second entity_type: oc_actor entity_field: revision_created plugin_id: date - header: { } - footer: { } - empty: { } - relationships: { } + order: DESC + expose: + label: '' + field_identifier: revision_created + exposed: false + granularity: second arguments: id: id: id @@ -798,6 +713,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: oc_actor + entity_field: id + plugin_id: numeric default_action: 'not found' exception: value: all @@ -812,8 +730,8 @@ display: summary_options: base_path: '' count: true - items_per_page: 25 override: false + items_per_page: 25 summary: sort_order: asc number_of_records: 0 @@ -825,12 +743,94 @@ display: validate_options: { } break_phrase: false not: false - entity_type: oc_actor - entity_field: id - plugin_id: numeric - display_extenders: { } + filters: { } + style: + type: table + options: + grouping: + 1: + field: view_oc_actor + rendered: true + rendered_strip: false + row_class: '' + default_row_class: true + columns: + first_name: first_name + middle_names: middle_names + last_name: last_name + id: id + revision_created: revision_created + view_oc_actor: view_oc_actor + default: '-1' + info: + first_name: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + middle_names: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + last_name: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + id: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + revision_created: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + view_oc_actor: + 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 + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } group_by: true - title: 'Contact Details History' + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -840,13 +840,13 @@ display: - user.permissions tags: { } page_1: - display_plugin: page id: page_1 display_title: Page + display_plugin: page position: 1 display_options: - path: opencase/oc_actor/%/contact_details_history display_extenders: { } + path: opencase/oc_actor/%/contact_details_history cache_metadata: max-age: -1 contexts: diff --git a/config/views.view.equal_opps_records.yml b/config/views.view.equal_opps_records.yml index eaa0c94..4907291 100644 --- a/config/views.view.equal_opps_records.yml +++ b/config/views.view.equal_opps_records.yml @@ -19,59 +19,12 @@ base_table: oc_equal_opps base_field: id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'view published equal opps entities' - cache: - type: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: autosubmit - 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 - autosubmit_hide: true - pager: - type: mini - options: - items_per_page: 10 - 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 - row: - type: fields + title: 'Equal Opps Records' fields: name: id: name @@ -80,6 +33,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: name + plugin_id: field label: Name exclude: false alter: @@ -135,23 +91,72 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: null - entity_field: name - plugin_id: field + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + 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: autosubmit + 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 + autosubmit_hide: true + access: + type: perm + options: + perm: 'view published equal opps entities' + cache: + type: tag + options: { } + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: 'There is no Equal Opps record by that name. Please check the spelling' + format: basic_html + tokenize: false + sorts: { } + arguments: { } filters: status: - value: '1' + id: status table: oc_equal_opps field: status - plugin_id: boolean entity_type: oc_equal_opps entity_field: status - id: status + plugin_id: boolean + value: '1' + group: 1 expose: operator: '' operator_limit_selection: false operator_list: { } - group: 1 first_name: id: first_name table: oc_actor_field_data @@ -159,6 +164,9 @@ display: relationship: oc_actor group_type: group admin_label: '' + entity_type: oc_actor + entity_field: first_name + plugin_id: string operator: '=' value: '' group: 1 @@ -193,9 +201,6 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: oc_actor - entity_field: first_name - plugin_id: string last_name: id: last_name table: oc_actor_field_data @@ -203,6 +208,9 @@ display: relationship: oc_actor group_type: group admin_label: '' + entity_type: oc_actor + entity_field: last_name + plugin_id: string operator: '=' value: '' group: 1 @@ -237,27 +245,18 @@ display: default_group: All default_group_multiple: { } group_items: { } - entity_type: oc_actor - entity_field: last_name - plugin_id: string - sorts: { } - title: 'Equal Opps Records' - header: { } - footer: { } - empty: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: 'There is no Equal Opps record by that name. Please check the spelling' - format: basic_html - plugin_id: text + style: + type: table + row: + type: fields + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } relationships: oc_actor: id: oc_actor @@ -266,13 +265,14 @@ display: relationship: none group_type: group admin_label: Person - required: true entity_type: oc_equal_opps entity_field: oc_actor plugin_id: standard - arguments: { } - display_extenders: { } + required: true use_ajax: true + header: { } + footer: { } + display_extenders: { } cache_metadata: max-age: -1 contexts: @@ -283,23 +283,23 @@ display: - user.permissions tags: { } page_1: - display_plugin: page id: page_1 display_title: Page + display_plugin: page position: 1 display_options: + exposed_block: true display_extenders: { } path: equal-opps-records - exposed_block: true menu: type: normal title: 'Equal Opps Records' description: '' - expanded: false - parent: opencase.see_all weight: 10 - context: '0' + expanded: false menu_name: opencase + parent: opencase.see_all + context: '0' cache_metadata: max-age: -1 contexts: diff --git a/config/views.view.organisations.yml b/config/views.view.organisations.yml new file mode 100644 index 0000000..ec52507 --- /dev/null +++ b/config/views.view.organisations.yml @@ -0,0 +1,227 @@ +uuid: 91879a90-88f1-4e91-b010-819cadad081a +langcode: en +status: true +dependencies: + config: + - user.role.authenticated + module: + - opencase_entities + - user +id: organisations +label: organisations +module: views +description: '' +tag: '' +base_table: oc_organisation_field_data +base_field: id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: organisations + fields: + name: + id: name + table: oc_organisation_field_data + field: name + relationship: none + group_type: group + admin_label: '' + entity_type: null + entity_field: name + plugin_id: field + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + 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: { } + arguments: + type: + id: type + table: oc_organisation_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: oc_organisation + entity_field: type + plugin_id: string + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: true + title: '{{ arguments.type }}' + default_argument_type: raw + default_argument_options: + index: 1 + use_alias: false + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: false + filters: + status: + id: status + table: oc_organisation_field_data + field: status + entity_type: oc_organisation + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + style: + type: table + row: + type: fields + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.roles + tags: { } + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: { } + path: organisations/%type + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.roles + tags: { } diff --git a/config/views.view.search_content.yml b/config/views.view.search_content.yml index 2543b48..598606b 100644 --- a/config/views.view.search_content.yml +++ b/config/views.view.search_content.yml @@ -17,20 +17,30 @@ base_table: search_api_index_default_index base_field: search_api_id display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: none - options: { } - cache: - type: none - options: { } - query: - type: search_api_query - options: { } + title: 'Search Content' + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: 'next ›' + previous: '‹ 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: input_required options: @@ -43,33 +53,15 @@ display: sort_desc_label: Desc text_input_required: 'Please enter some keywords to search.' text_input_required_format: basic_html - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ previous' - next: '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: default - row: - type: search_api - options: - view_modes: - 'entity:node': - article: search_result - page: search_result + access: + type: none + options: { } + cache: + type: none + options: { } + empty: { } + sorts: { } + arguments: { } filters: search_api_fulltext: id: search_api_fulltext @@ -78,6 +70,7 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: search_api_fulltext operator: and value: '' group: 1 @@ -88,6 +81,8 @@ display: description: '' use_operator: false operator: search_op + operator_limit_selection: false + operator_list: { } identifier: keys required: true remember: false @@ -96,8 +91,6 @@ display: authenticated: authenticated anonymous: '0' administrator: '0' - operator_limit_selection: false - operator_list: { } is_grouped: false group_info: label: '' @@ -113,9 +106,19 @@ display: parse_mode: terms min_length: 3 fields: { } - plugin_id: search_api_fulltext - sorts: { } - title: 'Search Content' + style: + type: default + row: + type: search_api + options: + view_modes: + 'entity:node': + article: search_result + page: search_result + query: + type: search_api_query + options: { } + relationships: { } header: result: id: result @@ -124,37 +127,34 @@ display: relationship: none group_type: group admin_label: '' + plugin_id: result empty: false content: 'Displaying results @start - @end of @total' - plugin_id: result footer: { } - empty: { } - relationships: { } - arguments: { } display_extenders: { } cache_metadata: + max-age: 0 contexts: - 'languages:language_content' - 'languages:language_interface' - url - url.query_args - cacheable: false - max-age: 0 tags: { } + cacheable: false page_1: - display_plugin: page id: page_1 display_title: Page + display_plugin: page position: 1 display_options: display_extenders: { } path: search/content cache_metadata: + max-age: 0 contexts: - 'languages:language_content' - 'languages:language_interface' - url - url.query_args - cacheable: false - max-age: 0 tags: { } + cacheable: false diff --git a/push_project.sh b/push_project.sh index 90ee485..0d698c4 100755 --- a/push_project.sh +++ b/push_project.sh @@ -1 +1 @@ -composer update && drush config:export --destination=../config -y && git add && git commit -m "Updated project" +composer update && drush config:export --destination=../config -y && git add . && git commit -m "Updated project"