fixed number of pages computation in search results view