From c42a65a29714a8d0c2d89b63ed53533383f829c6 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 10 May 2023 10:55:56 +0200 Subject: [PATCH] Update meilisearch/src/analytics/segment_analytics.rs Co-authored-by: Louis Dureuil --- meilisearch/src/analytics/segment_analytics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch/src/analytics/segment_analytics.rs b/meilisearch/src/analytics/segment_analytics.rs index d640c4ef0..64adc389d 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -1218,7 +1218,7 @@ impl DocumentsFetchAggregator { self.per_filter |= other.per_filter; self.max_limit = self.max_limit.max(other.max_limit); - self.max_offset |= self.max_offset.max(other.max_offset); + self.max_offset = self.max_offset.max(other.max_offset); } pub fn into_event(self, user: &User, event_name: &str) -> Option {