mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-10 23:17:08 -04:00
Fix "only_full_group_by" issue (#2538)
This commit is contained in:
@@ -292,6 +292,7 @@ class Item extends CI_Model
|
||||
$this->db->join('attribute_links', 'attribute_links.item_id = items.item_id', 'left');
|
||||
$this->db->join('attribute_values', 'attribute_links.attribute_id = attribute_values.attribute_id', 'left');
|
||||
$this->db->where('items.item_id', $item_id);
|
||||
$this->db->group_by('items.item_id');
|
||||
|
||||
$query = $this->db->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user