From a240fca155914c020be05aa5f68cddf6b9d6cf1a Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 21 Dec 2010 16:03:40 -0500 Subject: [PATCH] Use a more appropriate limit here, this was probably a debugging artifact. --- ansel/lib/Tagger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Tagger.php b/ansel/lib/Tagger.php index f54a8b702..ae7242c45 100644 --- a/ansel/lib/Tagger.php +++ b/ansel/lib/Tagger.php @@ -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'); -- 2.11.0