mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-12 14:31:29 +00:00
Same root cause as #3620: String(value).localeCompare(..., {numeric:true}) treats the "-" of negative ms epochs as a non-numeric character, so pre-1970 broadcast dates sort lexically. Switch the primary publishedAt branch and the same-named tiebreaker to numeric subtraction. Other sort keys remain on localeCompare for natural-sort behaviour. Verified with a paste-into-console reproducer; see PR description. Developed with the help of Claude (Anthropic), reviewed and verified by me. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| cypress | ||
| layouts | ||
| middleware | ||
| mixins | ||
| pages | ||
| players | ||
| plugins | ||
| static | ||
| store | ||
| strings | ||
| cypress.config.js | ||
| nuxt.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||