working for adding the filtering in category add page