Skip to content
Snippets Groups Projects
Commit 223bb9b7 authored by Demian Katz's avatar Demian Katz
Browse files

Bug fix: allow highlighting to be disabled (default now = off).

parent 693610a8
No related merge requests found
......@@ -321,10 +321,8 @@ class SearchRequestModel
$qs['pagenumber'] = $this->pageNumber;
}
if (isset($this->highlight)) {
$highlightVal = $this->highlight ? 'y' : 'n';
$qs['highlight']= $highlightVal;
}
$highlightVal = isset($this->highlight) && $this->highlight ? 'y' : 'n';
$qs['highlight']= $highlightVal;
return $qs;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment