Skip to content

Commit 3342556

Browse files
committed
Reset advanced search options in links to similar results (fixes issue #701)
1 parent dbea4bd commit 3342556

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/results_similar.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
namespace Transvision;
33

44
$proposed_search = $_GET;
5+
// Reset advanced search options (no need to check in advance if they're set)
6+
unset($proposed_search['case_sensitive'], $proposed_search['perfect_match'], $proposed_search['whole_word']);
57

68
$list_items = '';
79
foreach ($best_matches as $match) {

0 commit comments

Comments
 (0)