Markers sort not working properly

Phoca Maps - displaying maps in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Markers sort not working properly

Post by Jan »

Hi, order the markers like you order the articles in Joomla! - just take one and reorder it.

Jan
If you find Phoca extensions useful, please support the project
joggele
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Apr 2015, 15:01

Re: Markers sort not working properly

Post by joggele »

Hi,

I've solved my problem. :twisted:

Edit this file: /components/com_phocamaps/models/map.php

Go to row 76, change this code

Code: Select all

.' ORDER BY a.ordering ASC';
in

Code: Select all

.' ORDER BY a.title ASC';
The idea from Jan was not good for me, because we have over 650 markers on the map. And: if comes a new member, then you must sort all the titles again. :?


regards
Juergen
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Markers sort not working properly

Post by Jan »

Ok, yes, this solution I think is the best for this.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Markers sort not working properly

Post by Jan »

Set in version 3.0.3

Jan
If you find Phoca extensions useful, please support the project
Post Reply