[Tickets #6201] Re: Remember if a gallery has a subgallery
bugs at horde.org
bugs at horde.org
Tue Feb 5 18:54:56 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=6201
-----------------------------------------------------------------------
Ticket | 6201
Updated By | Duck <duck at obala.net>
Summary | Remember if a gallery has a subgallery
Queue | Ansel
Type | Enhancement
State | Accepted
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Rubinsky
-----------------------------------------------------------------------
Duck <duck at obala.net> (2008-02-05 13:54) wrote:
> I've got the code to handle this committed, although I'm having
> 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.
You can select all gallery_share_id-s and for each of them create a share
object and run and update the hasChilden() result. This will ensure you
get all the subgallery levels.
More information about the bugs
mailing list