From 7188e719eff137c3a0b47824de97245832441a20 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 5 Jun 2018 11:56:30 +0200 Subject: 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. --- view/tpl/build_query.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/tpl/build_query.tpl') 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); } -- cgit v1.2.3