add Longest and Shortest filters
This commit is contained in:
@@ -188,7 +188,8 @@ class Table extends BaseModel
|
||||
|
||||
public function scopeForList(Builder $query)
|
||||
{
|
||||
return $query->with('revision:id,row_count')->with('owner:id,name,title')
|
||||
return $query->with('revision:id,row_count')
|
||||
->with('owner:id,name,title')
|
||||
->withCount(['favourites', 'forks', 'revisions', 'proposals', 'comments']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user