hi
it seems to be an issue on PrintAllTagAs() :
PrintAllTagAs displays tags of unpublished albums, images, news and pages.
example: if a tag is only present on 10 images on an unpublished album, PrintAllTagAs always displays this tag (and the number of occurence of the tag is always 10.
another thing :
if I follow the tag, the research does not return unpublished albums and images, but returns unpublished news and page.
you can follow this link
http://vincent.bourganel.free.fr/zenphoto_t2 to see the problem :
- tag6 diplays 31 occurences, but if you follow the link, only 21 occurrences (images and albums) are displayed : 10 images are unpublished.
- i-feel-dirty diplays 2 occurences of unpublished news and pages and by fallowing the tag,you can access to unpublished news and pages !!
according to me, PrintAllTagAs should :
- not displayed a tag if all occurences of objects with this tag are unpublished.
- only displayed the tag count of the published objects (unless you are connected).
are you OK with that ? I will create a ticket.
Comments
to be simple, the tag cloud should have the same behavior as the categories of news (everything works well on that side).
ticket created.
What is the status of this item? I tried to search Github, but didn't find any useful reference to "printAllTagsAs". I admit that I probably don't know what I'm doing with GitHub.
If it matters, I am running:
Host: LunarPages
Custom Theme
Zenphoto version 1.4.5.7 [59c22b2fba] (Official build)
Current locale setting: en_US.UTF8
PHP version: 5.3.27
Graphics support: PHP GD library bundled (2.1.0 compatible)
MySQL version: 5.5.30