Closed (fixed)
Project:
Node Gallery
Version:
6.x-2.0-alpha12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
16 Mar 2010 at 15:17 UTC
Updated:
14 May 2010 at 16:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
justintime commentedNice catch. Try the attached patch and let me know if it works.
Comment #2
Daugilas commentedPerfect!
thanks for fast reply and keep up the good work!
Comment #3
Daugilas commentedSorry for too quick response, I was just so happy that my problem went away :)
The above patch works fine and fixes my problem, but
also in 'gallery list' under cover img there is img count which still includes unpublished images. Again, another query to edit a little bit.
I don't have time to go through all the code, but I think it would be good to check all querys. some of them are not relevant though.
Another thing that I noticed is that if you unpublish img which is gallery's cover. It still stays as a cover, and thats a great feature at least for me. As now I can easily make gallery's cover totally different from any img in gallery.
Comment #4
justintime commentedFound this query, and committed the fix into 2.x.