Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leopado committed Jul 17, 2019
1 parent 5bc9cb8 commit fe8b757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getIndex($group = null)

$groups = $groups->select(
DB::raw("IF(`package`<>'',CONCAT(`package`,'::',`group`),`group`) AS `group`")
)->orderBy('package')->orderBy(,'group')->get()->pluck('group', 'group');
)->orderBy('package')->orderBy('group')->get()->pluck('group', 'group');
if ($groups instanceof Collection) {
$groups = $groups->all();
}
Expand Down

0 comments on commit fe8b757

Please sign in to comment.