Fixed summit repository order

Change-Id: I7e0e0691f16d85f6f77cb48ba2fafcdb4be96069
Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
smarcet 2020-12-03 12:19:32 -03:00
parent 9ed56892ad
commit fcce8180c0
2 changed files with 4 additions and 4 deletions

View File

@ -148,7 +148,7 @@ final class OAuth2SummitApiController extends OAuth2ProtectedController
return [ return [
'id', 'id',
'name', 'name',
'begin_date', 'start_date',
'registration_begin_date' 'registration_begin_date'
]; ];
}, },
@ -177,7 +177,7 @@ final class OAuth2SummitApiController extends OAuth2ProtectedController
}, },
function () { function () {
return new Order([ return new Order([
OrderElement::buildAscFor("begin_date"), OrderElement::buildAscFor("start_date"),
]); ]);
}, },
function () { function () {
@ -262,7 +262,7 @@ final class OAuth2SummitApiController extends OAuth2ProtectedController
, ,
function () { function () {
return new Order([ return new Order([
OrderElement::buildAscFor("begin_date"), OrderElement::buildAscFor("start_date"),
]); ]);
}, },
function () { function () {

View File

@ -54,7 +54,7 @@ final class DoctrineSummitRepository
return [ return [
'id' => 'e.id', 'id' => 'e.id',
'name' => 'e.name', 'name' => 'e.name',
'begin_date' => 'e.begin_date', 'start_date' => 'e.begin_date',
'registration_begin_date' => 'e.registration_begin_date', 'registration_begin_date' => 'e.registration_begin_date',
]; ];
} }