aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/build_query.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-15 02:02:03 -0700
committerzotlabs <mike@macgirvin.com>2018-06-15 02:02:03 -0700
commit2f3c3db02062fa867cb9b39ffcf11f646a9b80bb (patch)
treeb3da3d9c4160708201c093662e45844fd11eab91 /view/tpl/build_query.tpl
parent967d4da30a4d3d39a2bedddf2ac476a96707bc45 (diff)
downloadvolse-hubzilla-2f3c3db02062fa867cb9b39ffcf11f646a9b80bb.tar.gz
volse-hubzilla-2f3c3db02062fa867cb9b39ffcf11f646a9b80bb.tar.bz2
volse-hubzilla-2f3c3db02062fa867cb9b39ffcf11f646a9b80bb.zip
hubzilla core issue #1227 - affinity slider unable to reach 0,99 when slider saved default changes
Diffstat (limited to 'view/tpl/build_query.tpl')
-rwxr-xr-xview/tpl/build_query.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl
index 754d5997c..2c55a8140 100755
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -36,8 +36,8 @@
var udargs = ((page_load) ? "/load" : "");
var bCmd = bParam_cmd + udargs + "?f=" ;
if(bParam_uid) bCmd = bCmd + "&p=" + bParam_uid;
- if(bParam_cmin != 0) bCmd = bCmd + "&cmin=" + bParam_cmin;
- if(bParam_cmax != 99) bCmd = bCmd + "&cmax=" + bParam_cmax;
+ if(bParam_cmin != (-1)) bCmd = bCmd + "&cmin=" + bParam_cmin;
+ if(bParam_cmax != (-1)) bCmd = bCmd + "&cmax=" + bParam_cmax;
if(bParam_gid != 0) { bCmd = bCmd + "&gid=" + bParam_gid; } else
if(bParam_cid != 0) { bCmd = bCmd + "&cid=" + bParam_cid; }
if(bParam_static != 0) { bCmd = bCmd + "&static=" + bParam_static; }