Skip to content

Commit

Permalink
[Update] Anime Songs
Browse files Browse the repository at this point in the history
- Updated ordering of songs in anime/songs page
  • Loading branch information
kiritokatklian committed Aug 21, 2024
1 parent 22bd897 commit 6cc62c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Livewire/Anime/Songs.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public function getMediaSongsProperty(): Collection
}
])
->get()
->groupBy('type.description')
->sortBy(['type.value', 'position']);
->sortBy(['position'])
->groupBy('type.description');
}

/**
Expand Down

0 comments on commit 6cc62c1

Please sign in to comment.