Searchbox(OOB searchbox webpart) retain old value when we search something in sharepoint online

Jyoti Rajpurohit 21 Reputation points
2023-09-25T17:05:23.5466667+00:00

Hi,

I am working with search functionality in sharepoint online using OOB searchbox webpart. so here i mapped searchbox with 2 result webparts.

I noticed here -

when I load the page and search as Test 2 it shows the result with perfect url

SearchBox :

User's image

URL :

User's image

and again if I search for other result like Test 3 it retain the old value in searchbox and weird url

SearchBox :

User's image

URL :

User's image

Thank You

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,611 Reputation points Microsoft External Staff
    2023-09-26T08:56:39.8966667+00:00

    Hi @Jyoti Rajpurohit

    This issue occurs when you have multiple search result web parts on the same page.

    Please try to use a single search result web part on the page as a workaround.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.