substream for better performance with large datasets
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 1 Jun 2010 06:14:27 +0000 (06:14 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 1 Jun 2010 06:14:27 +0000 (06:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16539 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index 9576f4a..f9d8934 100644 (file)
@@ -4118,6 +4118,8 @@ sub user_visible_circs {
         # TODO: I only want IDs. code below didn't get me there
         # {"select":{"au":[{"column":"id", "result_field":"id", 
         # "transform":"action.usr_visible_circs"}]}, "where":{"id":10}, "from":"au"}
+    },{
+        substream => 1
     });
 
     return undef unless @$data;