diff options
author | plegall <plg@piwigo.org> | 2016-02-15 14:50:57 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-02-15 14:50:57 +0100 |
commit | e03dff12b15fde7f5326e1e3fe9dd42102b55fe2 (patch) | |
tree | c452a36d22d4d4b2a10d4a4e185caada9b3618d0 /search.php | |
parent | a6fbaf69c71c3b39666a6323c4c6bbb7cbb98310 (diff) | |
parent | 8897e75fc28679b5003b8abf9ecdb50234c9199f (diff) |
Merge branch 'feature/355-search-by-words-on-tags'
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 5 |
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'])) |