From 8ae924109f3e093d79fbf9afff79ed327aef3043 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Wed, 11 Dec 2024 10:49:40 +0100 Subject: [PATCH] IBX-9314: Added comment --- .../universal-discovery/services/universal.discovery.service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bundle/ui-dev/src/modules/universal-discovery/services/universal.discovery.service.js b/src/bundle/ui-dev/src/modules/universal-discovery/services/universal.discovery.service.js index c284af1836..991943eb48 100644 --- a/src/bundle/ui-dev/src/modules/universal-discovery/services/universal.discovery.service.js +++ b/src/bundle/ui-dev/src/modules/universal-discovery/services/universal.discovery.service.js @@ -513,6 +513,8 @@ export const findSuggestions = ({ siteaccess, token, parentLocationId, accessTok ViewInput: { identifier: 'view_with_aggregation', LocationQuery: { + // '0' is a proper choice here because aggregation will still provide proper results. + // We care only about the aggregation itself, not about fetching records. limit: 0, offset: 0, Filter: {