0001-get-selected-items-from-value-dict-on-MultiSortWidge.patch
combo/utils/forms.py | ||
---|---|---|
67 | 67 |
if isinstance(data, MultiValueDict): |
68 | 68 |
return {'data': data.getlist(name)} |
69 | 69 |
return data.get(name, None) |
70 | ||
71 |
def format_value(self, value): |
|
72 |
value = value.get('data') or [] |
|
73 |
return super(MultiSortWidget, self).format_value(value) |
|
70 |
- |