Re: image re-ordering broken?

Brian Burke <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Sorry about that... should be here as text/plain this time.
-Brian

Quoting Chuck Hagenbuch <[email protected]>:

> Quoting Brian Burke <[email protected]>:
>
>> 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: [email protected]

-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
reorder.php.patch.txt (text/plain, 834 B)
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 <[email protected]>
  *
@@ -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');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.