backend support for 'x' deliveries per process - x is configurable, more importantly any search starting with # is automatically a tag search. TODO: Need to extend this to people searches starting with @

This commit is contained in:
friendica 2012-05-19 02:42:11 -07:00
commit 513ef2410d
3 changed files with 416 additions and 399 deletions

View file

@ -96,6 +96,12 @@ function search_content(&$a) {
$o .= search($search,'search-box','/search',((local_user()) ? true : false));
if(strpos($search,'#') === 0) {
$tag = true;
$search = substr($search,1);
}
if(! $search)
return $o;