From 65772ba07762d6bda35b176d7c578d04f1629b54 Mon Sep 17 00:00:00 2001 From: HuyNguyen Date: Fri, 13 Dec 2024 09:20:25 +0700 Subject: [PATCH] fixup! TW-2111: Add unit test for `isDisplayableResult` func --- lib/domain/model/search/server_side_search_categories.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/domain/model/search/server_side_search_categories.dart b/lib/domain/model/search/server_side_search_categories.dart index ea7fc12fd2..57c2a5b050 100644 --- a/lib/domain/model/search/server_side_search_categories.dart +++ b/lib/domain/model/search/server_side_search_categories.dart @@ -17,6 +17,9 @@ class ServerSideSearchCategories with EquatableMixin { return Categories( roomEvents: RoomEventsCriteria( searchTerm: searchTerm, + groupings: Groupings( + groupBy: [Group(key: GroupKey.roomId)], + ), orderBy: SearchOrder.recent, filter: searchFilter, ),