[PR #1920] [MERGED] feat: sorting albums #1948

Closed
opened 2026-02-26 03:32:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/1920
Author: @phanan
Created: 5/13/2025
Status: Merged
Merged: 5/13/2025
Merged by: @phanan

Base: masterHead: album-list-sort


📝 Commits (1)

📊 Changes

26 files changed (+419 additions, -60 deletions)

View changed files

📝 app/Builders/AlbumBuilder.php (+35 -0)
📝 app/Builders/SongBuilder.php (+1 -1)
📝 app/Http/Controllers/API/AlbumController.php (+6 -2)
app/Http/Requests/API/AlbumListRequest.php (+11 -0)
📝 app/Http/Resources/AlbumResource.php (+2 -0)
📝 app/Models/Album.php (+5 -4)
📝 app/Models/User.php (+1 -1)
📝 app/Repositories/AlbumRepository.php (+4 -4)
📝 app/Values/UserPreferences.php (+10 -0)
database/migrations/2025_05_13_114436_add_release_year_to_albums.php (+27 -0)
resources/assets/js/components/album/AlbumListSorter.spec.ts (+28 -0)
resources/assets/js/components/album/AlbumListSorter.vue (+71 -0)
resources/assets/js/components/podcast/PodcastListSorter.spec.ts (+25 -0)
📝 resources/assets/js/components/podcast/PodcastListSorter.vue (+21 -26)
📝 resources/assets/js/components/screens/AlbumListScreen.vue (+39 -4)
📝 resources/assets/js/components/screens/PodcastListScreen.vue (+2 -3)
📝 resources/assets/js/components/ui/ViewModeSwitch.spec.ts (+19 -2)
📝 resources/assets/js/components/ui/ViewModeSwitch.vue (+7 -5)
📝 resources/assets/js/components/ui/__snapshots__/ViewModeSwitch.spec.ts.snap (+2 -2)
📝 resources/assets/js/components/ui/album-artist/AlbumOrArtistGrid.vue (+17 -2)

...and 6 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/1920 **Author:** [@phanan](https://github.com/phanan) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `album-list-sort` --- ### 📝 Commits (1) - [`37eb160`](https://github.com/koel/koel/commit/37eb160bf2577470156354703cecb9d8c216804c) feat: sorting albums ### 📊 Changes **26 files changed** (+419 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `app/Builders/AlbumBuilder.php` (+35 -0) 📝 `app/Builders/SongBuilder.php` (+1 -1) 📝 `app/Http/Controllers/API/AlbumController.php` (+6 -2) ➕ `app/Http/Requests/API/AlbumListRequest.php` (+11 -0) 📝 `app/Http/Resources/AlbumResource.php` (+2 -0) 📝 `app/Models/Album.php` (+5 -4) 📝 `app/Models/User.php` (+1 -1) 📝 `app/Repositories/AlbumRepository.php` (+4 -4) 📝 `app/Values/UserPreferences.php` (+10 -0) ➕ `database/migrations/2025_05_13_114436_add_release_year_to_albums.php` (+27 -0) ➕ `resources/assets/js/components/album/AlbumListSorter.spec.ts` (+28 -0) ➕ `resources/assets/js/components/album/AlbumListSorter.vue` (+71 -0) ➕ `resources/assets/js/components/podcast/PodcastListSorter.spec.ts` (+25 -0) 📝 `resources/assets/js/components/podcast/PodcastListSorter.vue` (+21 -26) 📝 `resources/assets/js/components/screens/AlbumListScreen.vue` (+39 -4) 📝 `resources/assets/js/components/screens/PodcastListScreen.vue` (+2 -3) 📝 `resources/assets/js/components/ui/ViewModeSwitch.spec.ts` (+19 -2) 📝 `resources/assets/js/components/ui/ViewModeSwitch.vue` (+7 -5) 📝 `resources/assets/js/components/ui/__snapshots__/ViewModeSwitch.spec.ts.snap` (+2 -2) 📝 `resources/assets/js/components/ui/album-artist/AlbumOrArtistGrid.vue` (+17 -2) _...and 6 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:32:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1948
No description provided.