Update categories.php

filtering getAll methods