pageSearch :: Int -> Int -> Search -> Search Source

pageSearch is a helper function that takes a search and assigns the page from and to fields for the search.