fix: interleave uploaded chapters by number in the chapter list
Uploaded chapters have no source_index, and ORDER BY source_index DESC NULLS LAST sorted every one of them after all crawled chapters regardless of number — an uploaded chapter 5 landed after crawled chapter 100. Slot each uploaded chapter by number, just before the crawled chapter with the smallest greater number, so it interleaves. Crawled rows keep their reversed source-DOM order, preserving the deliberate placement of non-numeric entries (migration 0021). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
backend/Cargo.lock
generated
2
backend/Cargo.lock
generated
@@ -1558,7 +1558,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
||||
|
||||
[[package]]
|
||||
name = "mangalord"
|
||||
version = "0.124.21"
|
||||
version = "0.124.22"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"argon2",
|
||||
|
||||
Reference in New Issue
Block a user