wip create filters but values are unique for sub cateegories
This commit is contained in:
@@ -67,15 +67,16 @@ function mp_ljdp_map() {
|
||||
*/
|
||||
|
||||
$events = mp_get_published_events();
|
||||
|
||||
$locations = mp_sort_events($events);
|
||||
$filters = mp_get_filters($events);
|
||||
|
||||
$to_add = array(
|
||||
"locations" => $locations,
|
||||
"filters" => $filters,
|
||||
);
|
||||
mp_add_to_scripts($to_add);
|
||||
|
||||
$filters = mp_get_filters($locations);
|
||||
|
||||
|
||||
/* * * * * * * *
|
||||
* ADD FILTERS
|
||||
|
||||
Reference in New Issue
Block a user