fixed persistence of search, sort, and categories