diff --git a/app/src/Repository/QuestRepository.php b/app/src/Repository/QuestRepository.php index d4c382effadb3d3f7b2e7a462d91b042154b269e..5b2bd7a316d11c60ad7400fb60bc080e52e248cf 100644 --- a/app/src/Repository/QuestRepository.php +++ b/app/src/Repository/QuestRepository.php @@ -16,13 +16,13 @@ use Doctrine\Persistence\ManagerRegistry; class QuestRepository extends ServiceEntityRepository { public const SORT_TYPES = [ - 'ASC', - 'DESC' + 'По возрастанию' => 'ASC', + 'По убыванию' => 'DESC' ]; public const SORT_FIELDS = [ - 'name', - 'date', - 'final_date' + 'Название' => 'name', + 'Дата проведения' => 'date', + 'Дата финальной записи' => 'final_date' ]; public function __construct(ManagerRegistry $registry)