Skip to content

Commit

Permalink
hotfix in order to display last 50 operations instead of first 50
Browse files Browse the repository at this point in the history
  • Loading branch information
elfaus committed Jun 16, 2017
1 parent 86829f2 commit 9f0734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/OperationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct() {

public function index(Request $request)
{
$ops = Operation::all()->take(50);
$ops = Operation::all()->take(-50);
$tags = Tag::all()->sortBy('order');

$ops_incoming = $ops->filter(function($op) {
Expand Down

0 comments on commit 9f0734b

Please sign in to comment.