mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #436] Bug: Sort by length #311
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#311
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?
Originally created by @BernardGoldberger on GitHub (Sep 5, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/436
Windows Master, Opera.
Sorting by
fmtLengthworks, to change the sorting, but the display of thefmtLengthfor each song does not change.I noticed that removing the
v-oncebind fromsong-item.vueline 20 resolves it.Did not submit a PR cause I figured there is some use for it.
Below are some screen shots, notice how the sorting changes but not the time.
No sorting

Descending

Ascending

@phanan commented on GitHub (Sep 6, 2016):
v-onceis just some (premature) optimization, and is safe to be removed. Can you please do and submit the PR over? Thanks!@phanan commented on GitHub (Sep 6, 2016):
That said, is this a Vue's bug instead? I'll ask the team.
@BernardGoldberger commented on GitHub (Sep 6, 2016):
I would think it is.