We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Missing operators for dates (ver: 2.8.5-2)

Answered
Aleksandar Toljic asked on April 27, 2020

flexmonster-mongodb-connector 2.8.5-2 is missing implementation of next operations for date, which are sent from flexmonster client when filtering on dates:

  • last
  • next
  • current

e.g:
query: {
last: "month"
}
Can you add missing operations to flexmonster-mongodb-connector 2.8.5-2?

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster April 28, 2020

Hi Aleksandar,
 
Thank you for reporting this behavior – we've managed to reproduce it on our side.
 
In version 2.8.4 when using the next & last filters for dates with the custom data source API (including the MongoDB connector), this filter combination would be transformed to a single between filter before being sent to the server-side. Apparently, this is not working properly in version 2.8.5, so we are going to provide the fix for this issue in our next minor release ETA May 4th.
 
Please let us know if you have any other questions we can help you with in the meantime.
 
Best regards,
Mykhailo

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster May 5, 2020

Hi Aleksandar,
 
We are pleased to inform you that for custom data source API, the issue with converting last, current, and next date filter queries to between query was fixed.
 
This is provided in the 2.8.6 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/
 
Feel free to write to us in case of any questions.
 
Best regards,
Mykhailo

Public
Aleksandar Toljic May 6, 2020

Thank you for fast reponse!

Please login or Register to Submit Answer