mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[PR #273] [MERGED] Sort by Track #1196
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/273
Author: @alex-phillips
Created: 3/20/2016
Status: ✅ Merged
Merged: 3/20/2016
Merged by: @phanan
Base:
master← Head:feature/sort-by-track📝 Commits (2)
940cd1aadded support for song track numbers as well as subsorting song listsdde5587fixed tests by referencing new track column in database📊 Changes
8 files changed (+63 additions, -7 deletions)
View changed files
📝
app/Models/Song.php(+3 -1)📝
app/Services/Media.php(+8 -0)📝
database/factories/ModelFactory.php(+1 -0)📝
database/migrations/2015_11_23_074713_create_songs_table.php(+1 -0)📝
resources/assets/js/app.vue(+31 -3)📝
resources/assets/js/components/modals/edit-songs-form.vue(+7 -0)📝
resources/assets/js/components/shared/song-list.vue(+6 -3)📝
tests/SongTest.php(+6 -0)📄 Description
This adds an optional
subSortKeyargument to the sort function so that we can perform a subsort on the data structure to allow for sorting by tracks when we sort by album.This address issue https://github.com/phanan/koel/issues/240
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.