advanced search front-end

This commit is contained in:
friendica
2014-03-08 17:39:20 -08:00
parent 20ef3aee72
commit bef416a2d1
4 changed files with 19 additions and 2 deletions

View File

@@ -283,6 +283,10 @@ function dir_parse_query($s) {
$curr['logic'] = 'or';
continue;
}
if($q === 'not') {
$curr['logic'] .= ' not';
continue;
}
if(strpos($q,'=')) {
if(! isset($curr['logic']))
$curr['logic'] = 'or';