chg: [organisations] nationality field renamed to country

- UI display only so far
  - want to maintain alignment with MISP, might change in the future
- filtering still calls it nationality
- API still calls it nationality
refacto/CRUDComponent
iglocska 2023-02-22 00:37:34 +01:00
parent 130d5082e9
commit ab2ab4e8f8
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
4 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
'data_path' => 'url',
],
[
'name' => __('Nationality'),
'name' => __('Country'),
'data_path' => 'nationality',
],
[

View File

@ -16,6 +16,7 @@
'field' => 'url'
),
array(
'label' => __('Country'),
'field' => 'nationality'
),
array(

View File

@ -66,7 +66,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
'data_path' => 'url',
],
[
'name' => __('Nationality'),
'name' => __('Country'),
'data_path' => 'nationality',
'sort' => 'nationality',
],

View File

@ -22,7 +22,7 @@ echo $this->element(
'path' => 'url'
],
[
'key' => __('Nationality'),
'key' => __('Country'),
'path' => 'nationality'
],
[