Skip to content

Commit

Permalink
Try to replace SO (does not work, as usual)
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Dec 14, 2023
1 parent 3fdc7bf commit b281004
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,17 @@ public function rawSearchOptions()

$tab[] = [
'id' => '23',
'table' => $this->getTable(),
'field' => 'is_visible_monitor',
'table' => DropdownVisibility::getTable(),
'field' => 'is_visible',
'name' => sprintf(__('%1$s - %2$s'), __('Visibility'), Monitor::getTypeName(Session::getPluralNumber())),
'datatype' => 'bool'
'datatype' => 'bool',
'joinparams' => [
'jointype' => 'itemtypeonly',
'table' => $this->getTable(),
'condition' => [
'NEWTABLE.visible_itemtype' => 'Monitor'
]
]
];

$tab[] = [
Expand Down

0 comments on commit b281004

Please sign in to comment.