Skip to content

Commit

Permalink
Fix query error
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jan 12, 2024
1 parent d0dd0d5 commit 868deeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Computer.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ public function rawSearchOptions()
'datatype' => 'dropdown',
'joinparams' => [
'condition' => [
'`glpi_computers`.`states_id`' => '`NEWTABLE`.`id`',
'`glpi_computers`.`states_id`' => new \Glpi\DBAL\QueryExpression('`NEWTABLE`.`id`'),
],
'jointype' => 'itemtype_item_revert',
'specific_itemtype' => State::getType(),
Expand Down

0 comments on commit 868deeb

Please sign in to comment.