Skip to content

Commit

Permalink
Merge pull request #2 from aginev/aginev-patch-1
Browse files Browse the repository at this point in the history
Fix filters
  • Loading branch information
aginev committed Jul 8, 2015
2 parents bd7bd16 + 7d004ad commit 60a7f0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ public function getFilters($first_blank = false) {
* @return $this
*/
public function setFilters($filters) {
if ($filters instanceof Collection) {
$filters = $filters->toArray();
}

$this->filters = $filters;

return $this;
Expand Down

0 comments on commit 60a7f0e

Please sign in to comment.