"See all" button to Search Results webpart? #4080
DavorSukeri
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
There's a limit to 500 results per request. And you should be able to build this via custom templates and using two search parts. One with 10 results and one with 500. In the 10 result part add a link which adds two query parameter to the URL. One of the params is used to render 0 results in the first part and trigger rendering in the other. I have not tried it, but I believe it should be possible.
To get back
And you would use part1/part2 in the query template per web part and set them not to render if no results. And |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if the Search results webpart would have a "See all" button at the top right corner of the webpart like in OOTB News webpart or Events webpart.
Settings:
There should be an option to show or not to show the button (probably not show by default).
When shown, there should be custom link field where you can set any link you want.
Case example where I got the idea:
Since Sharepoint Event-webpart is so poorly designed (visually ok, but functionality is not), I used PnP Search results webpart to pull events from a site to another site. By default when I click the event title in the webpart, it opens the classic event page and not the modern event page. That issue I fixed with these steps by @Laul0.
I still need to make a custom layout (most likely going to use the card layout as a base template and modify that), to display a smaller image and so on.
When all that is done, it would be nice to have a "Sell all" button where user could click and be sent to my custom Events-page (on the site from where the events are being pulled) and that Events-page would have also a search box and filters pane for searching events.
And yes I know there will be "Show all events" button in every modern event page where the user lands to the OOTB Events rollup page so they will have two different pages to search events, but unfortunately that is something they have to live with.
Beta Was this translation helpful? Give feedback.
All reactions