remove link if total == 0 in categories and search