Skip to content

Commit

Permalink
Update Datatables.php
Browse files Browse the repository at this point in the history
Removed ->remember(1) in counting function because it's causing problems with outdated results.
  • Loading branch information
Kamil Tunkiewicz committed Sep 5, 2014
1 parent ad8d3ec commit 93bba18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bllim/Datatables/Datatables.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ protected function count($count = 'count_all')

$this->$count = DB::connection($connection)
->table(DB::raw('('.$myQuery->toSql().') AS count_row_table'))
->setBindings($myQuery->getBindings())->remember(1)->count();
->setBindings($myQuery->getBindings())->count();

}

Expand Down

0 comments on commit 93bba18

Please sign in to comment.