Actually truncate result list in QueryChanges
Since 536c754edf
(Run dashboard queries
in parallel, 2013-09-06) when we truncate the local variable "changes"
we forget to assign it in the list of returned results.
Change-Id: Ic307cb6e2145435759afc65d5d5394d7ab92a831
Signed-off-by: Jonathan Nieder <jrn@google.com>
This commit is contained in:
parent
de993dc2a2
commit
6024f2a2b0
@ -160,6 +160,7 @@ public class QueryChanges implements RestReadView<TopLevelResource> {
|
||||
} else {
|
||||
changes = changes.subList(0, imp.getLimit());
|
||||
}
|
||||
data.set(n, changes);
|
||||
more.set(n, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user