Plugin Members Problem with search

Hello everyone, I noticed that if I access the members tab and do a search TAG this search does not work: (.
I looked at the code but it does not seem wrong.
anyone can help me?
Thanks to all

 

Code 

$tag = get_input('tag');

$title = elgg_echo('members:title:searchtag', array($tag));

 

$options = array();

$options['query'] = $tag;

$options['type'] = "user";

$options['offset'] = 0;

$options['limit'] = 2;

 

$results = elgg_trigger_plugin_hook('search', 'tags', $options, array());

 

$count = $results['count'];

$users = $results['entities'];

$content = elgg_view_entity_list($users, $count, $offset, $limit, false, false, true);

 

 


Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.