aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-15 02:02:03 -0700
committerzotlabs <mike@macgirvin.com>2018-06-15 15:34:27 -0700
commit3fc955abfdfdc098af1c8889b62817f44c78cdee (patch)
tree1fdffe59839e3ab1dee0c8e2a6bf2ccfe733f0b2 /view/tpl
parent615fa1119f10e182bc5be1b5b08c2be86ef69f06 (diff)
downloadvolse-hubzilla-3fc955abfdfdc098af1c8889b62817f44c78cdee.tar.gz
volse-hubzilla-3fc955abfdfdc098af1c8889b62817f44c78cdee.tar.bz2
volse-hubzilla-3fc955abfdfdc098af1c8889b62817f44c78cdee.zip
hubzilla core issue #1227 - affinity slider unable to reach 0,99 when slider saved default changes
Diffstat (limited to 'view/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 1d938d395..6ee97e171 100755
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -35,8 +35,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; }