aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-08 17:39:20 -0800
committerfriendica <info@friendica.com>2014-03-08 17:39:20 -0800
commitbef416a2d122609cb43b046cfc4211421f4149fd (patch)
tree881b77eace3ffc18d3baf72d7d8b0066699c8a59 /mod/dirsearch.php
parent20ef3aee722c1079f844e32405dcc39ff5e1215e (diff)
downloadvolse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.tar.gz
volse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.tar.bz2
volse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.zip
advanced search front-end
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 759e27c5b..1f2ec1108 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -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';