@point-hub/papi 0.5.50 → 0.5.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -70336,7 +70336,7 @@ var addExactFilter = (filters, field, value) => {
|
|
|
70336
70336
|
}
|
|
70337
70337
|
};
|
|
70338
70338
|
var addDateRangeFilter = (filters, field, value_from, value_to) => {
|
|
70339
|
-
if (value_from?.trim()
|
|
70339
|
+
if (value_from?.trim() || value_to?.trim()) {
|
|
70340
70340
|
const range = {};
|
|
70341
70341
|
if (value_from?.trim()) {
|
|
70342
70342
|
range["$gte"] = new Date(value_from?.trim());
|