fix page_url and sort_url
Merge branch 'fix-search' into closeio