coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jp-photo.dk on October 30, 2006, 10:41:24 AM

Title: Filecount incorrect?
Post by: jp-photo.dk on October 30, 2006, 10:41:24 AM
I've noticed on the mainpage of my galleri, that if I total the number of files and albumbs I don't end up with the same numbers as the summary on the bottom of the page?

A manual summary gives 7.506 files, and the summary states 9.333 files?

A link to the page is: http://galleri.jp-photo.dk/ [Note! Direct link is worksafe, but rest of galleri IS NOT!]

Title: Re: Filecount incorrect?
Post by: Joachim Müller on October 30, 2006, 10:44:02 AM
Stats respect permissions.
Title: Re: Filecount incorrect?
Post by: jp-photo.dk on October 30, 2006, 12:18:04 PM
But as Administrator should I not have access to all albums? Users are not allowed to create their own albums, so the only albums in the gallery are created by me.

Title: Re: Filecount incorrect?
Post by: jp-photo.dk on October 30, 2006, 05:17:33 PM
A couple of calculations found the problem. I have a category called "Heste" which states 1.947 files. In this category there are 4 subcategories which holds 1.827 files, add those to the 7.506 files reported on the mainpage as being in the categories the result comes to.. 9.333 files.

So a category only count files in albums in it, and not the albumbs in the catogorys subcategories. I'm not sure whether to call this a feature or a bug?
Title: Re: Filecount incorrect?
Post by: Joachim Müller on October 30, 2006, 05:37:47 PM
Missing feature - we're aware of this and decided not to add the load of even more queries just for the sake of exacty stats for sub-structures. After all, coppermine is a gallery app, not some stats app.