Hi,
Thanks for debugging.
But are you sure that there is a bug? Because the x_queryeditor.php page
should replace the descriptive name with the real attribute name.
Thomas
Luis Franco Vázquez a écrit :
> Hi:
>
> there is a bug in queryeditor. Queryeditor builds the query by adding the
> descriptive name of the layer instead the real name of the layer:
> ['rivers of the world'] <= 10 <===> ['rivers'] < 10
>
> this can be solved replacing var indicatorReadName =
> elemTmp.options[elemTmp.selectedIndex].text; in queryeditor.js by var
> indicatorReadName = elemTmp.options[elemTmp.selectedIndex].value;
>
> Function affected:
> /**
> * Readable name of the selected field (=header)
> */
> getAttributeReadName: function() {
> var retVal = "";
> var elemTmp =
> document.getElementById("queryeditor-attributeName");
> if (typeof(elemTmp) != 'undefined' && elemTmp) {
> if (elemTmp.selectedIndex > 0) {
> var indicatorReadName =
> elemTmp.options[elemTmp.selectedIndex].value;
> if (typeof(indicatorReadName) != 'undefined') {
> retVal = indicatorReadName;
> }
> }
> }
> return retVal;
> }
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
>
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users