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

Gordon Luckett gordon.luckett at arrowgeomatics.com
Fri May 20 09:55:33 PDT 2022


Exactly, I am trying to sort the _many template...

https://mapguide.ca/mapguide/rest/data/property/.html?orderBy=*RPROPAD*



On Fri, May 20, 2022 at 5:16 AM Jackie Ng <jumpinjackie at gmail.com> wrote:

> 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.*
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20220520/ea4468a5/attachment.htm>


More information about the mapguide-users mailing list