[ansel] image re-ordering broken?
Brian Burke
BPBurke at alum.mit.edu
Thu Aug 5 13:53:27 PDT 2004
Sorry about that... should be here as text/plain this time.
-Brian
Quoting Chuck Hagenbuch <chuck at horde.org>:
> Quoting Brian Burke <BPBurke at alum.mit.edu>:
>
>> Hmm, okay... well, I tried changing the call from reorder.php as you
>> suggested
>> and it works fine. A patch is attached for anyone interested.
>
> Patch didn't come through. Make sure you attach it as text/plain
> (name it .txt
> if you need to).
>
> -chuck
>
> --
> "Regard my poor demoralized mule!" - Juan Valdez
> --
> ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ansel-unsubscribe at lists.horde.org
-------------- next part --------------
Index: reorder.php
===================================================================
RCS file: /cvsroot/ansel/reorder.php,v
retrieving revision 1.5
diff -u -r1.5 reorder.php
--- reorder.php 15 Jul 2004 04:42:33 -0000 1.5
+++ reorder.php 5 Aug 2004 20:43:46 -0000
@@ -1,6 +1,6 @@
<?php
/**
- * $Horde: ansel/reorder.php,v 1.4 2004/06/07 03:07:25 ben Exp $
+ * $Horde: ansel/reorder.php,v 1.5 2004/07/15 04:42:33 ben Exp $
*
* Copyright 2001-2004 Chuck Hagenbuch <chuck at horde.org>
*
@@ -70,7 +70,7 @@
case 'setOrder':
$order = array();
foreach (array_keys($imagelist) as $id) {
- $gallery->setOrder($id, Util::getFormData($id . '_order'));
+ $gallery->_shareOb->_datatree->setOrder($id, Util::getFormData($id . '_order'));
}
$notification->push(_("Gallery re-ordered."), 'horde.success');
More information about the ansel
mailing list