[smartpl] Fix wrong where clause for date field queries with "before"

keyword
This commit is contained in:
chme 2019-01-28 20:45:03 +01:00
parent a4b243921e
commit 06aaacbe8f

View File

@ -217,7 +217,7 @@ expression returns [ pANTLR3_STRING result, pANTLR3_STRING orderby, pANTLR3_STRI
$result = $DATETAG.text->factory->newRaw($DATETAG.text->factory); $result = $DATETAG.text->factory->newRaw($DATETAG.text->factory);
$result->append8($result, "f."); $result->append8($result, "f.");
$result->appendS($result, $DATETAG.text->toUTF8($DATETAG.text)); $result->appendS($result, $DATETAG.text->toUTF8($DATETAG.text));
$result->append8($result, " > "); $result->append8($result, " < ");
$result->append8($result, str); $result->append8($result, str);
} }
| ENUMTAG IS ENUMVAL | ENUMTAG IS ENUMVAL