Skip to content

Commit

Permalink
dashboard display only 25 changes, readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Nov 15, 2014
1 parent 316df08 commit 5d38b89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/TypiCMS/Modules/History/Controllers/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(Repository $repository)
*/
public function index()
{
$models = $this->repository->byPage(1, 100, ['historable', 'user'], true);
return Response::json($models->items, 200);
$models = $this->repository->latest(25, ['historable', 'user'], true);
return Response::json($models, 200);
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Change website title, and other options trough the settings panel. Settings are
### History
Last changes are recorded and displayed in back office’s dashboard. Logged actions are *created*, *updated*, *deleted*, *set online* and *set offline*.
History table records changes and 25 latest are displayed in back office’s dashboard. Logged actions are *created*, *updated*, *deleted*, *set online* and *set offline*.
It works for each modules excepted Users and Groups.
## Facades
Expand Down

0 comments on commit 5d38b89

Please sign in to comment.