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);
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.