adding condition to explicit don't paginate in the section "all"
fixing bug when you go to another category