I have a searchbox text input field. I have implemented pagination on gallery. Now I have to search a text based on column in the gallery, But when i am on the next page other than the first page whenever I search for the item it does not take me back to the first page rather it displays blank gallery with total page number as correct one but the current page remains same(old page number) and the searched item is on the first page. So how can i get back to the first page where the item is present.
As soon as I search text in textbox the gallery should populated with the items similar to the searched item on the first page or should get redirected to the first item(searched item) of the gallery.