- Issue created by @aleix
Due to the need of proposing actors in text mentions from following/followers while writing, it will be great to add like queries in a way that lets use for example %/alis% or "https://{$domain}%/{$username}%" . Now is not possible because LIKE conditions in storage query are just available if used with the "search" field.
As similar to how conditions are processed in ActivityPubActivityStorage.php:getBaseQuery for example in the case of < operator : (strpos($field, '<') !== FALSE), we could allow LIKE conditionals with :
if (strpos($field, 'LIKE') !== FALSE) {
$operator = 'LIKE';
$field = str_replace('LIKE', '', $field);
}
Active
1.0
Code