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:
Jonathan Nieder 2013-09-17 16:03:13 -07:00
parent de993dc2a2
commit 6024f2a2b0

View File

@ -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);
}
}