added irl to filters, and fixed broken sort

This commit is contained in:
lenovo
2022-11-10 16:06:21 +01:00
parent 0520590230
commit c6a4083e97
4 changed files with 22 additions and 29 deletions

View File

@@ -67,9 +67,16 @@ function mp_ljdp_map() {
*/
$events = mp_get_published_events();
//mp_console_log("php events:");
//mp_console_log($events);
$locations = mp_sort_events($events);
//mp_console_log("php locations:");
//mp_console_log($locations);
$filters = mp_get_filters($events);
mp_console_log("php filters:");
mp_console_log($filters);
$to_add = array(
"locations" => $locations,