From 1e45156bc034a0eaf1bc27a92e03973854fa0747 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 10 Apr 2021 19:47:31 +0930 Subject: [PATCH] Pause/Unpause should respect limit tag on redirect --- backend/__init__.py | 2 +- backend/templates/watch-overview.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/__init__.py b/backend/__init__.py index 602c446d..d3470cdd 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -106,7 +106,7 @@ def changedetection_app(config=None, datastore_o=None): datastore.data['watching'][pause_uuid]['paused'] ^= True datastore.needs_write = True - return redirect(url_for('index', limit_tag = limit_tag)) + return redirect(url_for('index', tag = limit_tag)) except KeyError: pass diff --git a/backend/templates/watch-overview.html b/backend/templates/watch-overview.html index 8332b911..d8dbd817 100644 --- a/backend/templates/watch-overview.html +++ b/backend/templates/watch-overview.html @@ -45,7 +45,7 @@ {% if watch.paused is defined and watch.paused != False %}paused{% endif %} {% if watch.newest_history_key| int > watch.last_viewed| int %}unviewed{% endif %}"> {{ loop.index }} - Pause + Pause {{watch.title if watch.title is not none else watch.url}} {% if watch.last_error is defined and watch.last_error != False %}