From 5700ca01713b3ce458701237d110f9024291a2a7 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 4 Sep 2020 19:11:15 -0500 Subject: [PATCH] Use 'contains' verb for default CORE Products 'upc' filter 'equal' verb is too onerous i think --- tailbone_corepos/views/corepos/products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone_corepos/views/corepos/products.py b/tailbone_corepos/views/corepos/products.py index 46b6fe4..2033a0e 100644 --- a/tailbone_corepos/views/corepos/products.py +++ b/tailbone_corepos/views/corepos/products.py @@ -78,7 +78,7 @@ class ProductView(CoreOfficeMasterView): g.set_filter('vendor', corepos.Vendor.name) g.filters['upc'].default_active = True - g.filters['upc'].default_verb = 'equal' + g.filters['upc'].default_verb = 'contains' g.set_type('cost', 'currency') g.set_type('normal_price', 'currency')