Skip to content

Commit

Permalink
added custom_field1, 2 ,3 in api search
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovikov authored Sep 30, 2016
1 parent 4e1f556 commit fcd1189
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/RestApi/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,10 @@ public function doSearchMessagesData($timestamp, $param, $full = false, $count =
$search['node'] = getVar('node', NULL, $param['search'], 'string');
$search['proto'] = getVar('proto', NULL, $param['search'], 'string');
$search['family'] = getVar('family', NULL, $param['search'], 'string');
$search['custom_field1'] = getVar('custom_field1', NULL, $param['search'], 'string');
$search['custom_field2'] = getVar('custom_field2', NULL, $param['search'], 'string');
$search['custom_field2'] = getVar('custom_field3', NULL, $param['search'], 'string');


$and_or = getVar('orand', NULL, $param['search'], 'string');
$b2b = getVar('b2b', false, $param['search'], 'bool');
Expand Down Expand Up @@ -637,6 +641,9 @@ public function doExportMessagesData($timestamp, $param, $full = false, $count =
$search['node'] = getVar('node', NULL, $param['search'], 'string');
$search['proto'] = getVar('proto', NULL, $param['search'], 'string');
$search['family'] = getVar('family', NULL, $param['search'], 'string');
$search['custom_field1'] = getVar('custom_field1', NULL, $param['search'], 'string');
$search['custom_field2'] = getVar('custom_field2', NULL, $param['search'], 'string');
$search['custom_field2'] = getVar('custom_field3', NULL, $param['search'], 'string');

$and_or = getVar('orand', NULL, $param['search'], 'string');
$b2b = getVar('b2b', false, $param['search'], 'bool');
Expand Down

0 comments on commit fcd1189

Please sign in to comment.