microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
379 stars 337 forks source link

Issue when selecting a filter in filters webpart with custom Data Source #3623

Open RodasC opened 6 months ago

RodasC commented 6 months ago

Version used PnP Modern Search - Search Web Parts - v4 Version 4.8.0 PnP Modern Search - Modern Search Extensibility Version 1.5.0

Hello all,

I'm having some issues while selecting filters with a custom data source.

Before getting there, I will explain step by step what I did.

  1. I created a new custom data source, that is retrieving information, without any kind of issue
  2. Since we want to filter the results, I created a filter to this the custom data source, to be shown to the user image the filter is shown image

Where is the issue? When I select in the filter no functions are called (for example, getData), meaning that I cannot interact the custom data source with the just selected filters.

Moreover, when we refresh the page the getData doesn't have filter, even when showing information in the filter. image the filters doesn't have any kind of information image

Note that none of this information is coming and being stored on SP.

Add PnP - search results webpart and use customData source Add PnP - Search Box webpart and connect to Search results. Add PnP - Search FIlters webpart and connect with Search Results.

kasperbolarsen commented 1 month ago

@RodasC any new info on this issue?

RodasC commented 2 weeks ago

@kasperbolarsen Nothing major.