From b2fe300f02398a44c4f839ed07e6343a53b0841e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 5 Jan 2018 09:36:02 -0600 Subject: [PATCH] Fix bug when making batch from product query --- tailbone/views/products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/products.py b/tailbone/views/products.py index 1eb2eb75..0af8b09a 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -516,7 +516,7 @@ class ProductsView(MasterView): pform = params_forms.get(batch_key) if pform: pdata = pform.validate(controls) - for field in pform: + for field in pform.schema: param_name = pform.schema[field.name].param_name params[param_name] = pdata[field.name]