add different table sort options, change default to last-updated
This commit is contained in:
@@ -189,6 +189,6 @@ class Table extends BaseModel
|
||||
public function scopeForList(Builder $query)
|
||||
{
|
||||
return $query->with('revision:id,row_count')->with('owner:id,name,title')
|
||||
->withCount(['favourites', 'forks', 'revisions', 'proposals']);
|
||||
->withCount(['favourites', 'forks', 'revisions', 'proposals', 'comments']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user