aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-24 20:58:25 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-24 20:58:25 +0200
commit5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0 (patch)
tree62571dcc8ca41b96af64bfca4f61dba8eef689c4 /view/tpl
parent615402ea83e0ff3fa4b92a1e50ef40f8d18d61f5 (diff)
downloadvolse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.tar.gz
volse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.tar.bz2
volse-hubzilla-5c4fbbebe1bd633e30a907b4a188d04c2f2f4fb0.zip
refine stream filter and forum notification behaviour (mostly for performance). personal posts will be displayed in unthreaded mode and clicking a forum notification will show only the unseen items of the forum in unthreaded mode. group the filters in the widget - threaded at the top, unthreaded beneath.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/build_query.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl
index 2c55a8140..fcb22b605 100755
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -31,6 +31,7 @@
var bParam_verb = "{{$verb}}";
var bParam_net = "{{$net}}";
var bParam_pf = "{{$pf}}";
+ var bParam_unseen = "{{$unseen}}";
function buildCmd() {
var udargs = ((page_load) ? "/load" : "");
@@ -62,6 +63,7 @@
if(bParam_net != "") bCmd = bCmd + "&net=" + bParam_net;
if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page;
if(bParam_pf != 0) bCmd = bCmd + "&pf=" + bParam_pf;
+ if(bParam_unseen != 0) bCmd = bCmd + "&unseen=" + bParam_unseen;
return(bCmd);
}