Skip to content

Commit

Permalink
Revert "redo is_visible in searchoption"
Browse files Browse the repository at this point in the history
This reverts commit 71ffae2.
  • Loading branch information
orthagh committed Sep 21, 2015
1 parent 4181852 commit 53164f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,7 @@ static function getAddSearchOptions($itemtype, $containers_id = false) {
$opt[$i]['table'] = $tablename;
$opt[$i]['field'] = $datas['name'];
$opt[$i]['name'] = $datas['container_label']." - ".$datas['label'];
$opt[$i]['linkfield'] = $datas['name'];
$opt[$i]['condition'] = "is_visible=1" ;
$opt[$i]['linkfield'] = $datas['name'];
$opt[$i]['joinparams']['jointype'] = "itemtype_item";
$opt[$i]['pfields_type'] = $datas['type'];
if( $datas['is_readonly'] ) {
Expand Down

0 comments on commit 53164f9

Please sign in to comment.