mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Fix to #161 when searching a Kit by name in Sales
This commit is contained in:
@@ -155,7 +155,8 @@ class Item_kit extends CI_Model
|
||||
|
||||
foreach($by_name->result() as $row)
|
||||
{
|
||||
$suggestions[]='KIT ' . $row->item_kit_id . ' | ' . $row->name;
|
||||
// do not touch the '|' otherwise the sale search will not fetch the kit
|
||||
$suggestions[]='KIT ' . $row->item_kit_id . '|' . $row->name;
|
||||
}
|
||||
|
||||
//only return $limit suggestions
|
||||
|
||||
Reference in New Issue
Block a user