diff options
author | Mario <mario@mariovavti.com> | 2018-06-17 17:00:17 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-06-17 17:00:17 +0200 |
commit | 28043726e64f750e646b42aa6f649e277fc3767e (patch) | |
tree | 18a41bea6a4805454e0b1a2dacdfeda451854690 /view/tpl/build_query.tpl | |
parent | 9c5df51141d68e50d3c1f5d3097160408debce48 (diff) | |
parent | 7e736c5359732647f5203bf2bb7fcd50c448fad9 (diff) | |
download | volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.gz volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.bz2 volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'view/tpl/build_query.tpl')
-rwxr-xr-x | view/tpl/build_query.tpl | 4 |
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; } |