Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix: add search option on entityconfig itemtype
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 28, 2017
1 parent cb3e218 commit 9fbe0fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inc/entityconfig.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,13 @@ public function getSearchOptions() {
$tab[$i]['nosearch'] = true;
$tab[$i]['datatype'] = 'text';

$i++;
$tab[$i]['table'] = self::getTable();
$tab[$i]['field'] = 'entities_id';
$tab[$i]['name'] = __('Entity');
$tab[$i]['massiveaction'] = false;
$tab[$i]['datatype'] = 'dropdown';

return $tab;
}

Expand Down

0 comments on commit 9fbe0fc

Please sign in to comment.