mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 09:47:14 +00:00
fix: POS search items not works properly if item group filter has applied
This commit is contained in:
@@ -1247,7 +1247,10 @@ class POSItems {
|
||||
clearTimeout(this.last_search);
|
||||
this.last_search = setTimeout(() => {
|
||||
const search_term = e.target.value;
|
||||
this.filter_items({ search_term });
|
||||
const item_group = this.item_group_field ?
|
||||
this.item_group_field.get_value() : '';
|
||||
|
||||
this.filter_items({ search_term:search_term, item_group: item_group});
|
||||
}, 300);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user