Changed the way projects are sorted
This commit is contained in:
parent
7cb6b100a0
commit
d762f41f9c
@ -24,7 +24,7 @@ class ProjectRepository implements ProjectRepositoryInterface
|
|||||||
{
|
{
|
||||||
$project = $this->project
|
$project = $this->project
|
||||||
->query()
|
->query()
|
||||||
->orderBy('release_data', 'ASC');
|
->orderByDesc('release_date');
|
||||||
|
|
||||||
foreach ($filters as $filter_name => $filter_value) {
|
foreach ($filters as $filter_name => $filter_value) {
|
||||||
if ($filter_name === 'category' && $filter_value !== 'all')
|
if ($filter_name === 'category' && $filter_value !== 'all')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user