Question

In the communication site under the document library when we search for any keyword we get Expand search to all items in this site at the bottom of the page like this.

enter image description here

When we click on this it redirects to the global search result page with below URL

/_layouts/15/search.aspx/siteall?q=22072019

Now if we search for any other keyword in the document library and click on the link it still shows the search results for the old keyword.

From the analysis, I found that, when we search for the new keyword it is not updating the query string value for the Bottom link. Once, I refresh the page then, it redirects to the search result page with a new searched keyword.

Is this a known issue for the Communication site?

Is there any other way to allow the user to search for the whole site from the document library?

References:

  1. SharePoint User Voice
  2. Office Forum
  3. Microsoft Tech Community
Was it helpful?

Solution

Per my test, it is by designer if we search for any other keyword in the document library and click on the link it still shows the search results for the old keyword.

We need to refresh the page to redirect to the search result page with a new searched keyword.

I am sorry to say that there is no other way to allow the user to search for the whole site from the document library.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top