Sorting POIs within a mashup map

Home Forums MapPress Support Sorting POIs within a mashup map

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20346
    John Charlton
    Participant

    With version 2.87.4 my POI’s in my mashup map at https://pecstudiotour.com/map-of-studios/ are no longer in order as they had been in the previous version.

    I have the Sort option in Settings set to Title.

    I had previously placed numbers in front of my Map titles to sort them within the mashup map, but this no longer works.

    It is vital that the order be sorted to match our printed brochure.

    Please advise how this can now be accomplished.

    I currently call up the mashup using [mashup query="post_type=page"]

    I tried modifying that to [mashup query="post_type=page&order=asc"] but it had no effect.

    The POI within the mashup seem to be ordered by last added. There is a sort by switch under MapPress > Maps, but it only gives the options of Map ID (Down) and Map ID (Up). There is no choice for Alphabetical. This seems only to control the order the maps are displayed on that page anyway, and has no effect on the mashup POI display.

    Please help
    Thank You

    #20350
    Chris
    Keymaster

    Hi John,

    Looks like a bug, introduced with distance sorting in a recent released. I think it’s fixed. Could you send a login so I can test the new version for you?

    If you prefer to use the query parameters, the syntax is:
    [mashup query="post_type=page&orderby=title&order=asc"]

    #20352
    Chris
    Keymaster

    Hi,

    I’ve gone ahead and published the update as 2.87.5. Please let me know how it works for you.

    #20353
    John Charlton
    Participant

    Thanks Chris. That worked fine. The problem is fixed.

    Thanks also for the short code. I have set the page to use that, but the new version fixed the problem without any change to the shortcode.

    Thanks for the quick response.

    #20393
    John Charlton
    Participant

    Hi Chris. Sorry to report that Version 2.88.3 has brought this issue back.

    Using [mashup query="post_type=page&orderby=title&order=asc"] as prescribed above does not solve the problem.

    It now ignores the numbers which precede the artist’s names and sorts the poi’s alphabetically.

    The latest issue was discovered on https://northumberlandstudiotour.ca/map/

    #20397
    Chris
    Keymaster

    Hi John,

    I see the sort option is set to “true”, which isn’t valid. Please go to the MapPress settings page, set the sort to “title” and save.

    If that doesn’t help, please send a login. Both sorting methods work on my test site, so I’ll need to trace it to see why yours is different.

    Thanks!

    #20407
    John Charlton
    Participant

    Thanks Chris. That fixed it. In fact there was no selection made in the settings previously, but selecting title solved it.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.