mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-22 16:24:41 -04:00
Filter out duplicate results (#2038)
This commit is contained in:
1 parent
26e33dddec
commit
0248a50ae3
1 file changed
+1
-1
@@ -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