fix filters not working because index null
This commit is contained in:
@@ -172,6 +172,7 @@ function mp_get_published_events() {
|
||||
$event = mp_fill_fields_value($post->ID);
|
||||
$event->id = $post->ID;
|
||||
$event->title = trim($post->post_title, " ");
|
||||
$event->index = null;
|
||||
array_push($events, $event);
|
||||
}
|
||||
return $events;
|
||||
@@ -190,7 +191,7 @@ function mp_get_published_events() {
|
||||
- nom : "";
|
||||
- irl : bool;
|
||||
- id : x;
|
||||
(- index : x;) // not there for now
|
||||
- index : x (default null);
|
||||
- title : "";
|
||||
- location : {}
|
||||
- street : "";
|
||||
|
||||
Reference in New Issue
Block a user