From 713bc497466a364c97c27398c0264699c4db2c9a Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Feb 2016 18:36:55 +0100 Subject: feature #355, apply search by word on tags we "simulate" a search by tag, but we still perform a "search by words" AND "search by tags", which lead to different result compared to "word on title OR file OR description OR tags" --- search.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'search.php') 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'])) -- cgit v1.2.3