aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2023-07-29 13:06:01 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2023-07-29 13:06:01 +0000
commitd647ebb3adc73e0fb2b81b8661bab94fbace8520 (patch)
tree4b93c458e708a79e20213160034831b19de3c650 /views
parent6e0ea8d6c871bd79e80b87de6cc88ea1cc5e6118 (diff)
downloadtagrss-d647ebb3adc73e0fb2b81b8661bab94fbace8520.tar
tagrss-d647ebb3adc73e0fb2b81b8661bab94fbace8520.tar.gz
tagrss-d647ebb3adc73e0fb2b81b8661bab94fbace8520.zip
Fix bugs related to filtering
Diffstat (limited to 'views')
-rw-r--r--views/index.tpl4
-rw-r--r--views/list_feeds.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/views/index.tpl b/views/index.tpl
index 52e997f..fd26295 100644
--- a/views/index.tpl
+++ b/views/index.tpl
@@ -62,7 +62,7 @@
</div>
<div class="side-by-side-help-container">
<label>Included tags:
- <input type="text" name="included_tags" value="{{included_tags_str}}">
+ <input type="text" name="included_tags" value="{{included_tags_str if included_tags_str else ''}}">
</label>
% include("tag_hover_help.tpl")
</div>
@@ -138,7 +138,7 @@
<input type="text" name="included_feeds" value="{{included_feeds_str}}" style="display: none;">
% end
% if included_tags:
- <input type="text" name="included_feeds" value="{{included_tags_str}}" style="display: none;">
+ <input type="text" name="included_tags" value="{{included_tags_str}}" style="display: none;">
% end
</form>
% include("footer.tpl")
diff --git a/views/list_feeds.tpl b/views/list_feeds.tpl
index 3c60f06..d780789 100644
--- a/views/list_feeds.tpl
+++ b/views/list_feeds.tpl
@@ -42,4 +42,4 @@
</form>
% include("footer.tpl")
</body>
-</html> \ No newline at end of file
+</html>