Skip to content

Commit d41c453

Browse files
committed
fix(unified-search): Send ISO date strings
Send expected ISO date string values for `since` and `until`. See : https://github.com/nextcloud/server/blob/3d6699d685215e53ec51b65f491a6aece28e85b1/lib/private/Search/Filter/DateTimeFilter.php#L23 Signed-off-by: nfebe <fenn25.fn@gmail.com>
1 parent c214ec4 commit d41c453

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/components/UnifiedSearch/UnifiedSearchModal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ export default defineComponent({
441441
switch (filter.type) {
442442
case 'date':
443443
if (provider.filters?.since && provider.filters?.until) {
444-
params.since = this.dateFilter.startFrom
445-
params.until = this.dateFilter.endAt
444+
params.since = this.dateFilter.startFrom?.toISOString()
445+
params.until = this.dateFilter.endAt?.toISOString()
446446
}
447447
break
448448
case 'person':

0 commit comments

Comments
 (0)