File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
presentation/src/main/java/com/anytypeio/anytype/presentation/widgets Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,10 @@ class DataViewListWidgetContainer(
327327 addAll(defaultKeys)
328328 addAll(dataViewKeys)
329329 }.distinct(),
330+ // IMPORTANT: updateFormatForSubscription is required to enrich filters with proper
331+ // property formats from StoreOfRelations. ObjectView doesn't include formats in
332+ // DataView details, so we must always fetch the latest Property Format from Store.
333+ // This is critical for DATE and OBJECT relation types to get correct subscription results.
330334 filters = buildList {
331335 addAll(targetView?.filters?.updateFormatForSubscription(storeOfRelations).orEmpty())
332336 addAll(ObjectSearchConstants .defaultDataViewFilters())
@@ -350,6 +354,10 @@ class DataViewListWidgetContainer(
350354 addAll(defaultKeys)
351355 addAll(dataViewKeys)
352356 }.distinct(),
357+ // IMPORTANT: updateFormatForSubscription is required to enrich filters with proper
358+ // property formats from StoreOfRelations. ObjectView doesn't include formats in
359+ // DataView details, so we must always fetch the latest Property Format from Store.
360+ // This is critical for DATE and OBJECT relation types to get correct subscription results.
353361 filters = buildList {
354362 addAll(targetView?.filters?.updateFormatForSubscription(storeOfRelations).orEmpty())
355363 addAll(ObjectSearchConstants .defaultDataViewFilters())
You can’t perform that action at this time.
0 commit comments