waymarkedtrails / waymarked-trails-site

Main repository for issue tracking and discussions for waymarkedetrails
http://waymarkedtrails.org
GNU General Public License v3.0
110 stars 24 forks source link

Sections not displayed in useful order #411

Closed pelderson closed 2 years ago

pelderson commented 2 years ago

The sections of a longer route in the information panel are not alphabetically sorted by name, nor do they appear in the order given by the main route relation. They appear to be ordered by object-Id. Example https://hiking.waymarkedtrails.org/#route?id=9453563&type=relation

Would it be possible to display the sections ordered according to member position in the main relation?

Other route lists in the panel are in alphabetical order. For sections, that would be acceptable, but it's one of the reasons why many route mappers keep adding section numbers to the name tag.

(I like the work you've done on the new info panel, BTW).

lonvia commented 2 years ago

That's a regression in the new frontend. I'll have a look.

lonvia commented 2 years ago

Fixed in https://github.com/waymarkedtrails/waymarkedtrails-api/commit/86ae402dfdfb1563f197a268e3569a644e0d74cd.

pelderson commented 2 years ago

Thanx for the superquick fix!