[#31489] Duplicate code reduction in category views and hits standardiation (Fix #1551)