[ARVADOS] updated: a999d262ee97000ed313cd4c127e0acf55e98c08

git at public.curoverse.com git at public.curoverse.com
Fri Jan 10 15:34:53 EST 2014


Summary of changes:
 .../app/controllers/application_controller.rb      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

       via  a999d262ee97000ed313cd4c127e0acf55e98c08 (commit)
      from  c2de465791157effa0b4d95fafe46e6976665439 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit a999d262ee97000ed313cd4c127e0acf55e98c08
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Jan 10 15:35:29 2014 -0500

    Workbench explicitly requests 1000 results instead of getting the default
    result list from the API server (which is only 100 results)

diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb
index b4da696..b7d3775 100644
--- a/apps/workbench/app/controllers/application_controller.rb
+++ b/apps/workbench/app/controllers/application_controller.rb
@@ -51,7 +51,7 @@ class ApplicationController < ActionController::Base
 
 
   def index
-    @objects ||= model_class.all
+    @objects ||= model_class.limit(1000).all
     respond_to do |f|
       f.json { render json: @objects }
       f.html { render }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list