Skip to content

Commit

Permalink
Merge pull request #5375 from szekerest/wmsdimtype
Browse files Browse the repository at this point in the history
Fix Character type handling in WMS dimension filters (#5374)
  • Loading branch information
szekerest committed Jan 23, 2017
2 parents f53fd78 + e075ccb commit cd36c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapogcfilter.c
Expand Up @@ -164,7 +164,8 @@ char *FLTGetExpressionForValuesRanges(layerObj *lp, const char *item, const char
if (paszElements && numelements > 0) {
if (forcecharcter)
bIscharacter = MS_TRUE;
bIscharacter= !FLTIsNumeric(paszElements[0]);
else
bIscharacter= !FLTIsNumeric(paszElements[0]);

pszTmpExpression = msStringConcatenate(pszTmpExpression, "(");
for (i=0; i<numelements; i++) {
Expand Down

0 comments on commit cd36c08

Please sign in to comment.