As the title say it, I am facing problem while creating filter dropdown option to the search result page, the resulted data is coming from blog post to the page. I am using Hubspot CRM Search API that gives the metadata like (total, start-index, pagination etc) and array of total 10 detailed data that includes (post title, publish date, author name and it’s details). Only that 10 data I can map through and render to the page and add pagination and If I apply filter logic then the outcomes from this filter coming from that array (only 10 data) and not from the whole blog post data. Do anyone known how to fix this issues.
page link: https://blog.unnanu.com/hs-search-results?&q=ai