Problem with Date query object.

Closed
Carlos asked on August 6, 2019

Hi.
I’m trying to use a Date query object in order to filter a date with the current month. Which is in the correct format the date (YYYY-MM-DD) . But it doesn’t apply the query filter.
Any hint about can I use this filter? 

"reportFilters": [
{
"uniqueName": "creationTimestamp.Year",
"filter": {
"query": {
"current": "month"
}
}
},
{
"uniqueName": "state",
"caption": "Estado",
"filter": {
"members": [
"state.[approved]",
"state.[paid_out]",
"state.[returned]"
]
}
}
]

Regards.

3 answers

Public
Dmytro Zvazhii Flexmonster August 6, 2019

Hello Carlos,
Thank you for writing to us.
Could you please provide a JSFiddle example where such issue is reproducible?
That will help us a lot in our further investigation.
Regards,
Dmytro

Public
Carlos August 7, 2019

Hello Dmytro.
The problem is that with JSFiddle it work perfectly. But using it with React it doesnt show the correct filter.
JSFiddle => https://jsfiddle.net/hv8qpn4y/5/
In one case I can only filter by tag instead of filter by Date.



Thanks you so much.
 
Regards

Public
Carlos August 7, 2019

Hello. 
 
Finally it was a version problem. Using the example project of React https://github.com/flexmonster/pivot-react/tree/master/ES6 it doesnt happend. So I just put the same version of FlexMonster and the problem was solved
 
Regards

This question is now closed