Summary | Remember if a gallery has a subgallery |
Queue | Ansel |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | duck (at) obala (dot) net |
Created | 02/04/2008 (6333 days ago) |
Due | |
Updated | 02/06/2008 (6331 days ago) |
Assigned | |
Resolved | 02/06/2008 (6331 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
Use two seperate loops for the image counts and subgalleries flag.
Getting the galleries with image counts won't return galleries that
contain *only* subgalleries (as most of mine do).
share object and run and update the hasChilden() result.
every gallery.
difficulty with an upgrade script. I think there might be an issue
somewhere with either Ansel_Shares::listShares() or
Ansel_Storage::countShares() in that only galleries that are one
level DOWN from datatree_root are being recognized as having
subgalleries....I've got to dig more, but have to run for now.
share object and run and update the hasChilden() result. This will
ensure you get all the subgallery levels.
difficulty with an upgrade script. I think there might be an issue
somewhere with either Ansel_Shares::listShares() or
Ansel_Storage::countShares() in that only galleries that are one
level DOWN from datatree_root are being recognized as having
subgalleries....I've got to dig more, but have to run for now.
State ⇒ Accepted
Assigned to Michael Rubinsky
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Remember if a gallery has a subgallery
Queue ⇒ Ansel
New Attachment: Ansel-sub.diff
State ⇒ New
Bug #6200when we track the number of images. Here we mark ifgallery has any sub-galleries when a share is added/removed. This
avoid additional queries in browsing when getting the sub-galleries
list to count the images inside a gallery. As galleries mostly does
not have sub-galleries this this will commonly avoid 9 queries.