Skip to content

Commit

Permalink
fix issue with client search
Browse files Browse the repository at this point in the history
fix issue osTicket#3822
  • Loading branch information
lozymon committed Jun 26, 2017
1 parent d2ef3b1 commit 8b856f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/class.search.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ function find($query, QuerySet $criteria, $addRelevance=true) {

switch ($criteria->model) {
case false:
case 'Ticket':
case 'TicketModel':
if ($addRelevance) {
$criteria = $criteria->extra(array(
Expand Down

0 comments on commit 8b856f0

Please sign in to comment.