aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-05 11:56:30 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-05 11:56:30 +0200
commit7188e719eff137c3a0b47824de97245832441a20 (patch)
tree2bf2f9265b2904501b42d007007db337b0720d4b /view/tpl
parent2328dfc851c0738414c84fa93351da148fd7161d (diff)
downloadvolse-hubzilla-7188e719eff137c3a0b47824de97245832441a20.tar.gz
volse-hubzilla-7188e719eff137c3a0b47824de97245832441a20.tar.bz2
volse-hubzilla-7188e719eff137c3a0b47824de97245832441a20.zip
rely on the pf argument to determine if we deal with a forum or not. xchan_pubforum is not set for all public forums in the forum filters for some reason.
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 1d938d395..754d5997c 100755
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -30,6 +30,7 @@
var bParam_mid = "{{$mid}}";
var bParam_verb = "{{$verb}}";
var bParam_net = "{{$net}}";
+ var bParam_pf = "{{$pf}}";
function buildCmd() {
var udargs = ((page_load) ? "/load" : "");
@@ -60,6 +61,7 @@
if(bParam_verb != "") bCmd = bCmd + "&verb=" + bParam_verb;
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;
return(bCmd);
}