Calendar Frontend Json - searchAttendee - allow missing query filter
[tine20] / tine20 / Calendar / Frontend / Json.php
index f68fcb6..82ab40f 100644 (file)
@@ -604,6 +604,9 @@ class Calendar_Frontend_Json extends Tinebase_Frontend_Json_Abstract
                     break;
             }
         }
+        if (!isset($filters['query'])) {
+            $filters['query'] = array('field' => 'query', 'operator' => 'contains', 'value' => '');
+        }
 
         $result = array();
         $addressBookFE = new Addressbook_Frontend_Json();