mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-28 19:10:11 -04:00
Properly fix for item search bug (remove duplicated rows due to left
outer join)
This commit is contained in:
@@ -106,7 +106,7 @@ class Item extends CI_Model
|
||||
}
|
||||
|
||||
// avoid duplicate entry with same name because of inventory reporting multiple changes on the same item in the same date range
|
||||
//$this->db->group_by('items.name');
|
||||
$this->db->group_by('items.item_id');
|
||||
|
||||
// order by name of item
|
||||
$this->db->order_by('items.name', 'asc');
|
||||
|
||||
Reference in New Issue
Block a user