audiobookshelf/client/components/tables
Julien Cornebise 537d3fe17d
Fix podcast episode sort for pre-1970 broadcast dates
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.
2026-05-10 17:33:21 +01:00
..
collection Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
library Don't use constructed tailwind classes in libraryIcon 2025-03-20 12:33:33 +02:00
playlist Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
podcast Fix podcast episode sort for pre-1970 broadcast dates 2026-05-10 17:33:21 +01:00
ApiKeysTable.vue Log when token expiry is set via env var, api-keys create/update returns with user association 2025-07-06 13:10:14 -05:00
AudioTracksTableRow.vue Add translation strings for toasts, update data load toasts to use generic failed to load data message 2024-05-13 16:58:41 -05:00
BackupsTable.vue Use getServerSetting to ensure serverSettings is set before accessing 2025-07-06 17:39:03 -05:00
ChaptersTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
CollectionBooksTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
CustomMetadataProviderTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
EbookFilesTable.vue Implement new JWT auth 2025-06-29 17:22:58 -05:00
EbookFilesTableRow.vue Update material symbols icon font 2024-08-16 16:57:17 -05:00
LibraryFilesTable.vue Implement new JWT auth 2025-06-29 17:22:58 -05:00
LibraryFilesTableRow.vue Add translation strings for toasts, update data load toasts to use generic failed to load data message 2024-05-13 16:58:41 -05:00
PlaylistItemsTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
TracksTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
UploadedFilesTable.vue Tailwind V4 migration initial commit 2025-03-16 16:41:37 +02:00
UsersTable.vue Use getServerSetting to ensure serverSettings is set before accessing 2025-07-06 17:39:03 -05:00