From 60e8a57dce021e19cb75a39572e04eb9e7762bc6 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 14 Oct 2023 17:13:51 +0300 Subject: [PATCH] fix scrape wanted condition --- templates/default/torrent/list.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/torrent/list.html.twig b/templates/default/torrent/list.html.twig index c74e816..951eade 100644 --- a/templates/default/torrent/list.html.twig +++ b/templates/default/torrent/list.html.twig @@ -21,7 +21,7 @@ {{ torrent.file.name }} - {% if torrent.scrape.leechers == 0 and torrent.scrape.leechers == 0 %} + {% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %} {{ 'wanted' | trans }}