<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Api listGalleries return galleries in bad order (compared to ansel h3)</title> 
  <pubDate>Fri, 10 Apr 2026 14:48:31 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11228</link> 
  <atom:link rel="self" type="application/rss+xml" title="Api listGalleries return galleries in bad order (compared to ansel h3)" href="https://bugs.horde.org/ticket/11228/rss" /> 
  <description>Api listGalleries return galleries in bad order (compared to ansel h3)</description> 
 
   
   
  <item> 
   <title>ansel/lib/Api.php on line 722/723

        foreach ($galle</title> 
   <description>ansel/lib/Api.php on line 722/723

        foreach ($galleries as $gallery) {
            $return[] = array_merge(
                $gallery-&gt;toArray(),
                array(&#039;crumbs&#039; =&gt; $gallery-&gt;getGalleryCrumbData()));
        }

The old api was more like this :
        foreach ($galleries as $gallery) {
            $return[$gallery-&gt;id] = array_merge(
                $gallery-&gt;toArray(),
                array(&#039;crumbs&#039; =&gt; $gallery-&gt;getGalleryCrumbData()));
        }
</description> 
   <pubDate>Fri, 22 Jun 2012 21:26:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11228#t71636</link> 
  </item> 
   
  <item> 
   <title>This was done on purpose. The data structure returned from a</title> 
   <description>This was done on purpose. The data structure returned from api calls was standardized on returning indexed arrays.</description> 
   <pubDate>Fri, 22 Jun 2012 21:38:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11228#t71637</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
