Re: [pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-13 Thread Raffaele Morelli
On 14/10/14 at 12:32am, Armin Burger wrote: > yes, I guess this was always the way how it worked aslo in older > versions. It's not just for Postgis but also shapefile layers etc. > > The change to make it behave as you expected is to modify the > lib/query/query.php file at line 229 replacing t

Re: [pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-13 Thread Armin Burger
yes, I guess this was always the way how it worked aslo in older versions. It's not just for Postgis but also shapefile layers etc. The change to make it behave as you expected is to modify the lib/query/query.php file at line 229 replacing the 4 subsequent lines with the following ones: f

[pmapper-users] PMapper5 : PM_RESULT_FIELDS order not observed

2014-10-13 Thread Raffaele Morelli
Hi, there's an issue with PM_RESULT_FIELDS and the specified order of fields. No matter what is specified in PM_RESULT_FIELDS, fields order follows postgis table fields order. Can you confirm this behaviour? -- « Nunc est bibendum, nunc pede libero pulsanda tellus » --