Update ComponentsForSearch.php

corrected a bug that dont store url parameters when change pagination