[Tickets #8929] Re: Small fixes to import script
bugs at horde.org
bugs at horde.org
Thu Mar 25 13:38:22 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8929
------------------------------------------------------------------------------
Ticket | 8929
Updated By | Michael Rubinsky <mrubinsk at horde.org>
Summary | Small fixes to import script
Queue | Ansel
Version | 1.1
Type | Enhancement
State | Feedback
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
Michael Rubinsky <mrubinsk at horde.org> (2010-03-25 09:38) wrote:
> If you install ansel in a different directory (rather than
> HORDE_BASE . '/ansel'), the script won't work.
> With my change, it always works.
True...committed, thanks.
> I think most people would rather have an alphabetical order rather
> than no order at all (which is how it works now).
It's not "no order at all" - it's the order that the files are
returned by readdir(), which should be the order that they are stored
on the filesystem. http://php.net/readdir
Additionally, I wouldn't want my images imported sorted alphabetically
by default. If anything, I'd want them sorted by the image DateCreated
time. If you add a switch for this, I'd be willing to commit it.
More information about the bugs
mailing list