Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-mbs committed Oct 29, 2021
1 parent da5e609 commit 49d991d
Show file tree
Hide file tree
Showing 2 changed files with 394 additions and 394 deletions.
2 changes: 1 addition & 1 deletion www/app/pages/reference/itemlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function OnAutoSet($sender) {
}

$in .= ")";
return Item::findArray('itemname', "coalesce(item_type,0) in (2,5) and item_id not in {$in} and (itemname like {$text} or item_code like {$text}) and disabled <> 1", 'itemname');
return Item::findArray('itemname', " item_type in (2,5) and item_id not in {$in} and (itemname like {$text} or item_code like {$text}) and disabled <> 1", 'itemname');
}

public function OnAddSet($sender) {
Expand Down
Loading

0 comments on commit 49d991d

Please sign in to comment.