update dashboard
This commit is contained in:
parent
35408e7e16
commit
1619cadf64
7 changed files with 140 additions and 3 deletions
|
|
@ -34,4 +34,12 @@ class ConferenceRepositoryQuery extends RepositoryQuery
|
|||
return $this->withThemeType($value);
|
||||
}
|
||||
}
|
||||
|
||||
public function latest(int $max = 5)
|
||||
{
|
||||
return $this
|
||||
->addOrderBy('.date', 'DESC')
|
||||
->setMaxResults($max)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue