Use a more appropriate limit here, this was probably a debugging artifact.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 21 Dec 2010 21:03:40 +0000 (16:03 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 21 Dec 2010 21:09:52 +0000 (16:09 -0500)
ansel/lib/Tagger.php

index f54a8b7..ae7242c 100644 (file)
@@ -368,7 +368,7 @@ class Ansel_Tagger
      */
     public function listRelatedImages(Ansel_Image $image, $ownerOnly = true)
     {
-        $args = array('typeId' => 'image', 'limit' => 1);
+        $args = array('typeId' => 'image', 'limit' => 10);
         if ($ownerOnly) {
             $gallery = $GLOBALS['injector']->getInstance('Ansel_Injector_Factory_Storage')->create()->getGallery($image->gallery);
             $args['userId'] = $gallery->get('owner');