[fusion-commits] r2949 - in branches/fusion-mg26: . widgets/Query/classes
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Jul 26 09:16:26 PDT 2016
Author: jng
Date: 2016-07-26 09:16:26 -0700 (Tue, 26 Jul 2016)
New Revision: 2949
Modified:
branches/fusion-mg26/
branches/fusion-mg26/widgets/Query/classes/query.php
Log:
Merged revision(s) 2946 from trunk:
#650: Double-quote FDO properties in query widget to ensure properties with spaces and parentheses will work.
Patch by Gordon Luckett. Reviewed by me
........
Property changes on: branches/fusion-mg26
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/fusion-mg24:2560
/sandbox/adsk/2.6l:2911
/sandbox/adsk/3.1n:2925-2927
/sandbox/createruntimemap:2699-2708
/sandbox/jxlib-3.0:1957-2248
/sandbox/ol213:2801-2803
/sandbox/robust_error_handling:2818-2825
/trunk:2847,2850,2857,2859,2862-2863,2872,2877,2880,2882,2884,2893-2897,2899,2905-2908,2915,2920-2932,2936-2942
+ /branches/fusion-mg24:2560
/sandbox/adsk/2.6l:2911
/sandbox/adsk/3.1n:2925-2927
/sandbox/createruntimemap:2699-2708
/sandbox/jxlib-3.0:1957-2248
/sandbox/ol213:2801-2803
/sandbox/robust_error_handling:2818-2825
/trunk:2847,2850,2857,2859,2862-2863,2872,2877,2880,2882,2884,2893-2897,2899,2905-2908,2915,2920-2932,2936-2942,2946
Modified: branches/fusion-mg26/widgets/Query/classes/query.php
===================================================================
--- branches/fusion-mg26/widgets/Query/classes/query.php 2016-07-26 16:16:15 UTC (rev 2948)
+++ branches/fusion-mg26/widgets/Query/classes/query.php 2016-07-26 16:16:26 UTC (rev 2949)
@@ -258,7 +258,7 @@
$propertyFilter = '';
if ($this->args['USEPROPERTYFILTER'] == 'true')
{
- $propertyFilter = $this->args['PROPERTYNAME'];
+ $propertyFilter = '"' . $this->args['PROPERTYNAME'] . '"';
if ($this->args['ISSTRING'] == 'true')
$propertyFilter .= sprintf($this->strExpressions[$this->args['OPERATOR']], $this->args['VALUE']);
else
More information about the fusion-commits
mailing list