[mapguide-users] 'orderBy=' implemented in MapGuide-Rest?

Jackie Ng jumpinjackie at gmail.com
Fri May 20 02:16:39 PDT 2022


Hi Gordon,

A check of the base MgRestAdapter source that drives all the templates
shows that it does check and apply ordering if you provide orderby in the
query string, assumed to be a comma-separated list of feature property
names:

Ref:
https://github.com/jumpinjackie/mapguide-rest/blob/master/app/adapters/restadapter.php#L188

Though if you're trying to govern default sorting from *within* your _many
template, that probably isn't implemented.

- Jackie

You wrote:

Has the orderBy= parameter been implemented in MapGuide Rest project?

Love to sort the _many.html template...



-- 
*Please Note: I no longer create new posts or post replies to any OSGeo
mailing list through nabble. As a result, you most likely won't see this
message appear on nabble's view of any OSGeo mailing list and may only see
this message through mailing list archives or depending on your mailing
list subscription settings, through daily message digests or automated
notifications from the mailing lists.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20220520/dfd21d10/attachment.htm>


More information about the mapguide-users mailing list