Add shared GPC search filter, use it for product batch rows.
This commit is contained in:
parent
51e4eda662
commit
69a5eed83b
5 changed files with 41 additions and 34 deletions
|
@ -891,8 +891,9 @@ class ProductBatchRowGrid(BatchRowGrid):
|
|||
classes should *not* override this, but :meth:`filter_map_extras()`
|
||||
instead.
|
||||
"""
|
||||
return self.make_filter_map(exact=['upc', 'status_code'],
|
||||
ilike=['brand_name', 'description', 'size'])
|
||||
return self.make_filter_map(exact=['status_code'],
|
||||
ilike=['brand_name', 'description', 'size'],
|
||||
upc=self.filter_gpc(self.row_class.upc))
|
||||
|
||||
def filter_config(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue