Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
49916095
Commit
49916095
authored
Apr 25, 2022
by
Charlotte Bataille
Browse files
fix datetimePicker in advanced archive search
parent
64758123
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Resources/view/recordsManagement/archive/fulltextSearchForm.html
View file @
49916095
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment