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', 'data_path' => 'url',
], ],
[ [
'name' => __('Nationality'), 'name' => __('Country'),
'data_path' => 'nationality', 'data_path' => 'nationality',
], ],
[ [

View File

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

View File

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

View File

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