aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
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';