File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,21 @@ final class QueueConfigRepository
1313{
1414 public static function findAll ()
1515 {
16- return QueueConfig::where ([])->get ();
16+ return QueueConfig::where ([])->get ()-> orderBy ( ' name ' ) ;
1717 }
1818
1919 public static function findActives ()
2020 {
21- return QueueConfig::where (['active ' => true ])->get ();
21+ return QueueConfig::where (['active ' => true ])->get ()-> orderBy ( ' name ' ) ;
2222 }
2323
2424 public static function findSchedulables ()
2525 {
26- return QueueConfig::where (['active ' => true , 'schedulable ' => true ])->get ();
26+ return QueueConfig::where (['active ' => true , 'schedulable ' => true ])->get ()-> orderBy ( ' name ' ) ;
2727 }
2828
2929 public static function findOneByName ($ name )
3030 {
3131 return QueueConfig::where (['name ' => $ name ])->get ()->first ();
3232 }
33- }
33+ }
You can’t perform that action at this time.
0 commit comments