Commit 49916095 authored by Charlotte Bataille's avatar Charlotte Bataille
Browse files

fix datetimePicker in advanced archive search

parent 64758123
......@@ -339,7 +339,7 @@ FulltextSearchForm = {
} else if ($(this).hasClass('dateTimePicker')) {
var operation = ($(this).data('range') == 'start') ? ">=" : "<=";
// TODO fix datetime sent in params with a date conversion (done @rm/archives/search.html)
value = name + operation + "'" + $(this).data('DateTimePicker').date().format('YYYY-MM-DD HH:MM:SS') + "'";
value = name + operation + "'" + $(this).data('DateTimePicker').date().format('YYYY-MM-DD HH:mm:ss') + "'";
// Fill start and end values
if (query.description[name] == undefined) {
......
Supports Markdown
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