aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-15 14:50:57 +0100
committerplegall <plg@piwigo.org>2016-02-15 14:50:57 +0100
commite03dff12b15fde7f5326e1e3fe9dd42102b55fe2 (patch)
treec452a36d22d4d4b2a10d4a4e185caada9b3618d0 /search.php
parenta6fbaf69c71c3b39666a6323c4c6bbb7cbb98310 (diff)
parent8897e75fc28679b5003b8abf9ecdb50234c9199f (diff)
Merge branch 'feature/355-search-by-words-on-tags'
Diffstat (limited to 'search.php')
-rw-r--r--search.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/search.php b/search.php
index 9d33c7b3c..f8f0a1949 100644
--- a/search.php
+++ b/search.php
@@ -72,6 +72,11 @@ if (isset($_POST['submit']))
'mode' => $_POST['mode'],
'fields' => $_POST['fields'],
);
+
+ if (isset($_POST['search_in_tags']))
+ {
+ $search['fields']['search_in_tags'] = true;
+ }
}
if (isset($_POST['tags']))