mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-17 02:12:43 -04:00
#132 revert a modification in item model
This commit is contained in:
@@ -61,7 +61,7 @@ class Item extends CI_Model
|
||||
{
|
||||
$this->db->where("(name LIKE '%" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"item_number LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"items.item_id LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
$this->db->dbprefix('items').".item_id LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"company_name LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"category LIKE '%" . $this->db->escape_like_str($search) . "%')");
|
||||
}
|
||||
@@ -130,7 +130,7 @@ class Item extends CI_Model
|
||||
{
|
||||
$this->db->where("(name LIKE '%" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"item_number LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"items.item_id LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
$this->db->dbprefix('items').".item_id LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"company_name LIKE '" . $this->db->escape_like_str($search) . "%' OR " .
|
||||
"category LIKE '%" . $this->db->escape_like_str($search) . "%')");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user