diff options
author | friendica <info@friendica.com> | 2014-03-08 17:39:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-08 17:39:20 -0800 |
commit | bef416a2d122609cb43b046cfc4211421f4149fd (patch) | |
tree | 881b77eace3ffc18d3baf72d7d8b0066699c8a59 /mod/dirsearch.php | |
parent | 20ef3aee722c1079f844e32405dcc39ff5e1215e (diff) | |
download | volse-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.php | 4 |
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'; |