mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-13 08:22:52 -04:00
Filter out duplicate results (#2038)
This commit is contained in:
@@ -879,7 +879,7 @@ class Item extends CI_Model
|
||||
$suggestions = array_slice($suggestions, 0, $limit);
|
||||
}
|
||||
|
||||
return $suggestions;
|
||||
return array_unique($suggestions);
|
||||
}
|
||||
|
||||
public function get_low_sell_suggestions($search)
|
||||
|
||||
Reference in New Issue
Block a user