diff --git a/config/install/views.view.activities.yml b/config/install/views.view.activities.yml index 1919165..2816491 100644 --- a/config/install/views.view.activities.yml +++ b/config/install/views.view.activities.yml @@ -4,7 +4,6 @@ dependencies: config: - user.role.authenticated module: - - datetime - opencase_entities - user id: activities @@ -70,72 +69,6 @@ display: row: type: fields fields: - activity_date_time: - id: activity_date_time - table: oc_activity_field_data - field: activity_date_time - relationship: none - group_type: group - admin_label: '' - label: 'Date and time' - 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: datetime_custom - settings: - timezone_override: '' - date_format: 'd/m/Y - H:i' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: oc_activity - entity_field: activity_date_time - plugin_id: field name: id: name table: oc_activity_field_data @@ -330,6 +263,73 @@ display: entity_type: oc_activity entity_field: description plugin_id: field + created: + id: created + table: oc_activity_field_data + field: created + relationship: none + group_type: group + admin_label: '' + label: Created + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: short + custom_date_format: '' + timezone: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: oc_activity + entity_field: created + plugin_id: field view_oc_activity: id: view_oc_activity table: oc_activity diff --git a/config/install/views.view.cases.yml b/config/install/views.view.cases.yml index ba38d4a..0631ddf 100644 --- a/config/install/views.view.cases.yml +++ b/config/install/views.view.cases.yml @@ -477,7 +477,7 @@ display: admin_label: '' empty: true tokenize: false - content: "

Either there are no cases involving this person, or you do not have access to them.

To create a case, use the sidebar menu to the right

" + content: "

Either there are no cases involving this person, or you do not have access to them.

\n" plugin_id: text_custom relationships: { } arguments: @@ -584,7 +584,7 @@ display: admin_label: '' empty: true tokenize: false - content: "

No cases found

\n

You do not have access to any existing cases.

\n

To add a new case, first search for the person you want to create a case for, using the search bar at the top right of the screen. If they are not on the system yet, add them using the Add People tab.

\n" + content: "

No cases found

\n

You do not have access to any existing cases.

\n

To add a new case, first search for the person you want to add a case to. If they are not on the system yet you can add them using the Add actors menu in the left sidebar.

\n" plugin_id: text_custom cache_metadata: max-age: -1 diff --git a/modules/opencase_default_reporting/opencase_default_reporting.module b/modules/opencase_default_reporting/opencase_default_reporting.module index c1861c0..00fb435 100644 --- a/modules/opencase_default_reporting/opencase_default_reporting.module +++ b/modules/opencase_default_reporting/opencase_default_reporting.module @@ -2,9 +2,9 @@ function opencase_default_reporting_uninstall() { $configs = [ - 'search_api.index.opencase_reporting_cases', - 'search_api.index.opencase_reporting_clients', - 'search_api.index.opencase_reporting_volunteers', +// 'search_api.index.opencase_reporting_cases', +// 'search_api.index.opencase_reporting_clients', +// 'search_api.index.opencase_reporting_volunteers', 'block.block.facet_asylum_status', 'block.block.facet_created', 'block.block.facet_disability', diff --git a/modules/opencase_entities/src/Entity/OCActivity.php b/modules/opencase_entities/src/Entity/OCActivity.php index 630b103..40c788b 100644 --- a/modules/opencase_entities/src/Entity/OCActivity.php +++ b/modules/opencase_entities/src/Entity/OCActivity.php @@ -86,7 +86,6 @@ class OCActivity extends RevisionableContentEntityBase implements OCActivityInte public static function currentDateTime() { $current_time = DrupalDateTime::createFromTimestamp(time()); $formatted = $current_time->format(DateTimeItem::DATETIME_STORAGE_FORMAT); - \Drupal::logger("nr_debug")->notice($formatted); return $formatted; } /** diff --git a/opencase.info.yml b/opencase.info.yml index 8a93071..fc8a46b 100644 --- a/opencase.info.yml +++ b/opencase.info.yml @@ -2,7 +2,7 @@ name: 'OpenCase' type: module description: 'Simple Case Management' core: 8.x -version: 8.x-1.6.4 +version: 8.x-1.6.5 package: 'OpenCase' dependencies: - opencase_entities