Skip to content

Commit

Permalink
Fix keyword searching
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Oct 25, 2017
1 parent ec7b177 commit 2ccee11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WeBWorK/Utils/ListingDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ sub makeKeywordWhere {
my $kwstring = shift;
my @kwlist = keywordCleaner($kwstring);
# @kwlist = map { "kw.keyword = \"$_\"" } @kwlist;
@kwlist = map { "kw.keyword = ? " } @kwlist;
my $where = join(" OR ", @kwlist);
my @kwlistqm = map { "kw.keyword = ? " } @kwlist;
my $where = join(" OR ", @kwlistqm);
return "AND ( $where )", @kwlist;
}

Expand Down

0 comments on commit 2ccee11

Please sign in to comment.