Skip to content

Commit

Permalink
Merge pull request #1304 from BGSU-LITS/develop
Browse files Browse the repository at this point in the history
Fix bug with "Filter by property" on item page.
  • Loading branch information
zerocrates authored Sep 14, 2018
2 parents 6ac1a49 + 27a7bd5 commit 7e06233
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public function getSubjectValues(Resource $resource, $page = null, $perPage = nu
}

if ($property) {
$qb->where('v.property', $this->createNamedParameter($qb, $property));
$qb->andWhere($qb->expr()->eq('v.property', $this->createNamedParameter($qb, $property)));
}

$qb->setMaxResults($perPage);
Expand Down

0 comments on commit 7e06233

Please sign in to comment.