@paperless/angular 1.3.2 → 1.3.3
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.
|
@@ -2018,10 +2018,12 @@ const createFormFilters = (values, quickFilters, quickFilterKey) => {
|
|
|
2018
2018
|
let quickFilter = null;
|
|
2019
2019
|
for (const key of Object.keys(values)) {
|
|
2020
2020
|
const value = values[key];
|
|
2021
|
-
if (key !== quickFilterKey &&
|
|
2021
|
+
if ((key !== quickFilterKey &&
|
|
2022
2022
|
!(value instanceof Date) &&
|
|
2023
2023
|
isNaN(value) &&
|
|
2024
|
-
!value?.length)
|
|
2024
|
+
!value?.length) ||
|
|
2025
|
+
value === null ||
|
|
2026
|
+
value === undefined) {
|
|
2025
2027
|
continue;
|
|
2026
2028
|
}
|
|
2027
2029
|
if (quickFilterKey && key === quickFilterKey) {
|