Number of pictures in gallery is wrong with excluded picture
-
Well, I have an album with 5 pictures. 3 of them are excluded.
On frontend, when I display albums listing, my album display 5 pictures, not 3. And when I m going into this album, I have only 3 pictures.
The patch :
File /nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php597c597,600
< array(“galleryid IN %s”, $gallery_ids))->group_by(‘galleryid’)->run_query(FALSE, TRUE);
—
> array(
> array(“galleryid IN %s”, $gallery_ids),
> array(‘exclude = %d’, 0)
> ))->group_by(‘galleryid’)->run_query(FALSE, TRUE);
- The topic ‘Number of pictures in gallery is wrong with excluded picture’ is closed to new replies.