|
@@ -157,12 +157,6 @@ def get_form(action, method, filter_data, data):
|
|
]) - filter_data[k][1])
|
|
]) - filter_data[k][1])
|
|
)), key=lambda x: x["display"] if "display" in x else x["value"]), # exclude
|
|
)), key=lambda x: x["display"] if "display" in x else x["value"]), # exclude
|
|
) for k in keys ],
|
|
) for k in keys ],
|
|
- data=[ template(
|
|
|
|
- 'app/rest/data-item',
|
|
|
|
- product=row['product'],
|
|
|
|
- category=row['category'],
|
|
|
|
- group=row['group'],
|
|
|
|
- ) for _, row in group.iterrows() ],
|
|
|
|
tags=sorted(map(lambda x: {
|
|
tags=sorted(map(lambda x: {
|
|
"selected": x[0],
|
|
"selected": x[0],
|
|
"value": x[1],
|
|
"value": x[1],
|