We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736f8ed commit 0c21b70Copy full SHA for 0c21b70
src/Bllim/Datatables/Datatables.php
@@ -158,7 +158,7 @@ public function remove_column()
158
private function save_query($query)
159
{
160
$this->query = $query;
161
- $this->query_type = $query instanceof Illuminate\Database\Query\Builder ? 'fluent' : 'eloquent';
+ $this->query_type = $query instanceof \Illuminate\Database\Query\Builder ? 'fluent' : 'eloquent';
162
$this->columns = $this->query_type == 'eloquent' ? $this->query->getQuery()->columns : $this->query->columns;
163
}
164
0 commit comments