Merge pull request #8105 from Budibase/bug/sev2/datetime-empty-filter-externaldb
Support empty / notEmpty filters for Datetime in External SQL DB
This commit is contained in:
commit
249a9ee075
|
@ -121,7 +121,12 @@ export const buildLuceneQuery = filter => {
|
|||
query.allOr = true
|
||||
return
|
||||
}
|
||||
if (type === "datetime" && !isHbs) {
|
||||
if (
|
||||
type === "datetime" &&
|
||||
!isHbs &&
|
||||
operator !== "empty" &&
|
||||
operator !== "notEmpty"
|
||||
) {
|
||||
// Ensure date value is a valid date and parse into correct format
|
||||
if (!value) {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue