Fixed Review/rating miscount

It appears that if you make leaving a text review on a resource optional, ratings are counted as reviews and displayed as such in the tab header.

ve18GhQ.png


GdrVWqy.png


Clicking on the review tab in this case does nothing -- it simply redirects back to the main page. Obviously, this will only happen in the case where a resource has 1 rating and no reviews, but the count will still be off.
 
This is fixed, now, thanks.

The count actually only shows incorrect to the users who have permission to view deleted/moderated reviews as we count them separately.
 
Top Bottom