- Added Upkeeping → Correct catalogue order.
It now recalculates video sort_order from created_at newest-first, so videos with corrected/original publish dates appear first in the homepage and public catalogue. I also updated catalogue/admin/latest-video ordering to use publish date as a tie-breaker after stored sort order.
This commit is contained in:
@@ -91,7 +91,7 @@ The homepage can show a **Videos / Live** switch above the main player. Configur
|
||||
|
||||
Use **Admin → YouTube Importer** to paste a YouTube channel URL, `@handle`, or `UC...` channel ID. The importer scrapes the channel's `/videos` page, extracts video data from `ytInitialData`, previews the results, and imports selected videos as remote YouTube embed sources. Duplicate YouTube watch URLs are skipped.
|
||||
|
||||
Imported YouTube videos use the video's original publish date for the database `created_at` timestamp when YouTube exposes it. The admin dashboard also includes **Upkeeping → Correct YouTube timestamps** to backfill existing YouTube entries in batches.
|
||||
Imported YouTube videos use the video's original publish date for the database `created_at` timestamp when YouTube exposes it. The admin dashboard also includes **Upkeeping → Correct YouTube timestamps** to backfill existing YouTube entries in batches. Use **Upkeeping → Correct catalogue order** to rebuild catalogue sorting from those publish dates so newer dated videos appear first.
|
||||
|
||||
### View Counts and Public Statistics
|
||||
|
||||
@@ -131,7 +131,7 @@ Only published videos appear on the public-facing pages.
|
||||
|
||||
### Sorting
|
||||
|
||||
Use the **Sort Order** field — lower numbers appear first. Default is 0.
|
||||
Use the **Sort Order** field — lower numbers appear first. Default is 0. The **Upkeeping → Correct catalogue order** action can recalculate sort order from video publish dates, newest first.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user