From e7b00c9fe5828dc0892785cd6c878f63129c8bb7 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 20 Oct 2021 10:21:05 +0100 Subject: [PATCH] added dns fix --- components/search/dnssearchresults.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/search/dnssearchresults.js b/components/search/dnssearchresults.js index 2e0cbe90..791ba788 100644 --- a/components/search/dnssearchresults.js +++ b/components/search/dnssearchresults.js @@ -228,6 +228,8 @@ const DNSSearchResults = (props) => { ); }; + const pagesCount = Math.ceil(searchResultsObj["@odata.count"] / 10); + let currentPage = 0; currentPage = decodeURI(searchResultsObj["@odata.nextLink"]).split(