MG 2.0 Media Navigation Counter

Gamorreaner

Active member
Hello,

how can I refresh the navigation counter for categories?

media nav.webp
(This one)

After moving 6000 albums into categories on my site through MySQL it shows 0 on each. Already rebuild categories, but it seems to take the data from elsewhere.
 
Rebuilding categorys seems to only rebuild the album_count, and it seems to get the data from media_count in xf_mg_category. I can increase/decrease the media_counter by adding/removing new media, but how do I get a recount of everything that is already in it?

Edit: Guess I found it. Categorys are not only defined in the albums, but also in the pictures themself (xf_mg_media_item category_id).
 
Last edited:
Top Bottom