Fixed entries being incorrectly marked as duplicates when tracked with some trackers (#4008)

If a tracker doesn't set `remote_id`, it defaults to 0 so comparing entries based on `remote_id` when it's 0 doesn't make sense
This commit is contained in:
Secozzi
2026-09-26 22:53:32 +06:00
committed by GitHub
parent f52d890e7f
commit 532575e29e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
- Fixed default category and manga sometimes not getting their category set when restoring a backup ([@Secozzi](https://github.com/Secozzi)) ([#3891](https://github.com/mihonapp/mihon/pull/3891))
- Fixed AniList rate limit ([@MajorTanya](https://github.com/MajorTanya)) ([#3942](https://github.com/mihonapp/mihon/pull/3942))
- Fixed library search when clicking source name in manga info screen ([@choppeh](https://github.com/choppeh)) ([#4002](https://github.com/mihonapp/mihon/pull/4002))
- Fixed entries being incorrectly marked as duplicates when tracked with some trackers ([@Secozzi](https://github.com/Secozzi)) ([#4008](https://github.com/mihonapp/mihon/pull/4008))
## [v0.20.4] - 2026-08-05
### Fixed
@@ -126,6 +126,7 @@ track_dupes AS (
INNER JOIN manga_sync S2
ON S1.sync_id = S2.sync_id
AND S1.remote_id = S2.remote_id
AND S1.remote_id != 0
AND S1.manga_id != S2.manga_id
WHERE S1.manga_id = :id
),