mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-16 13:48:09 -07:00
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:
@@ -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
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user