Only show the 50 most recent events on the dashboard
Change-Id: I31fb7eac4501c396d72d6da39307fbb162de7a8a
This commit is contained in:
parent
079263a77d
commit
0026ab4c3f
@ -77,7 +77,11 @@ angular.module('sb.dashboard').controller('DashboardController',
|
||||
// Load the user's subscription events.
|
||||
$scope.subscriptionEvents = null;
|
||||
SubscriptionEvent.browse({
|
||||
subscriber_id: currentUser.id
|
||||
subscriber_id: currentUser.id,
|
||||
offset: 0,
|
||||
limit: 50,
|
||||
sort_dir: 'desc',
|
||||
sort_field: 'created_at'
|
||||
}, function (results) {
|
||||
|
||||
// First go through the results and decode the event info.
|
||||
|
Loading…
x
Reference in New Issue
Block a user