Commit f95cf5f0 authored by Paul Brown's avatar Paul Brown

Fix parsing by using correct format for filter

parent 859ec2b9
...@@ -93,6 +93,9 @@ var AdminFilters = function(element, filtersElement, filterGroups) { ...@@ -93,6 +93,9 @@ var AdminFilters = function(element, filtersElement, filterGroups) {
if (filter.type) { if (filter.type) {
$field.attr('data-role', filter.type); $field.attr('data-role', filter.type);
if (filter.type == "datepicker") {
$field.attr('data-date-format', "YYYY-MM-DD");
}
faForm.applyStyle($field, filter.type); faForm.applyStyle($field, filter.type);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment