projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53aa56
)
limit 100 instead of 1000
author
Tom Clegg <tom@clinicalfuture.com>
Tue, 5 Feb 2013 15:20:22 +0000
(10:20 -0500)
committer
Tom Clegg <tom@clinicalfuture.com>
Tue, 5 Feb 2013 15:20:22 +0000
(10:20 -0500)
app/controllers/collections_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/collections_controller.rb
b/app/controllers/collections_controller.rb
index f282a1bb81d13f83c5615cc99f3db74ea468bf8b..b4fb36887957b9cb696aab9841e25f86d2b1fef8 100644
(file)
--- a/
app/controllers/collections_controller.rb
+++ b/
app/controllers/collections_controller.rb
@@
-7,10
+7,10
@@
class CollectionsController < ApplicationController
end
def index
- @links = Link.eager.limit(100
0
).where(head_kind: 'orvos#collection') |
- Link.eager.limit(100
0
).where(tail_kind: 'orvos#collection')
+ @links = Link.eager.limit(100).where(head_kind: 'orvos#collection') |
+ Link.eager.limit(100).where(tail_kind: 'orvos#collection')
@collections = {}
- Collection.limit(100
0
).where({}).each do |c|
+ Collection.limit(100).where({}).each do |c|
@collections[c.uuid] = {uuid: c.uuid}
end
@links.each do |l|