Sort achievement categories
This commit is contained in:
1 parent
3ae1e75275
commit
023ce6f964
3 files changed
+76
-2
No files matched your search
@@ -16,6 +16,16 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
*/
|
||||
class AchievementCategory extends Model
|
||||
{
|
||||
const array ORDER = [
|
||||
'number_of_flights',
|
||||
'distance',
|
||||
'general_flying',
|
||||
'countries_and_continents',
|
||||
'aircraft',
|
||||
'airlines_and_alliances',
|
||||
'fun_challenges',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'internal_name',
|
||||
'name',
|
||||
|
||||
Reference in new issue
Block a user