mirror of https://github.com/MISP/MISP
fix: [UI] Attribute value in attribute index
parent
a0778774d7
commit
08f0ed4be1
|
@ -46,7 +46,8 @@ echo $this->element('/genericElements/IndexTable/index_table', [
|
|||
[
|
||||
'name' => __('Value'),
|
||||
'sort' => 'Attribute.value',
|
||||
'data_path' => 'Attribute.value'
|
||||
'data_path' => 'Attribute',
|
||||
'element' => 'attributeValue',
|
||||
],
|
||||
[
|
||||
'name' => __('Tags'),
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
$attribute = Hash::get($row, $field['data_path']);
|
||||
$attribute['objectType'] = 'attribute';
|
||||
echo $this->element('Events/View/value_field', ['object' => $attribute]);
|
Loading…
Reference in New Issue