From f5212575706364042faec4b4f8c736156a2e7df2 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sat, 13 Oct 2018 17:23:28 +0100 Subject: [PATCH] Fix Items search category issue (#2179) --- application/models/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Item.php b/application/models/Item.php index ac1df7f73..ca324bdc3 100644 --- a/application/models/Item.php +++ b/application/models/Item.php @@ -191,7 +191,7 @@ class Item extends CI_Model $this->db->or_like('item_number', $search); $this->db->or_like('items.item_id', $search); $this->db->or_like('company_name', $search); - $this->db->or_like('category', $search); + $this->db->or_like('items.category', $search); $this->db->group_end(); } else