Skip to content

Commit

Permalink
fix search column #3203
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Dec 15, 2023
1 parent 5018fc1 commit 692ae15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Db/PollMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function findOwner(string $userId): array {
*/
public function search(ISearchQuery $query): array {
$qb = $this->buildQuery();
$qb->where($qb->expr()->eq(self::TABLE . '..deleted', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
$qb->where($qb->expr()->eq(self::TABLE . '.deleted', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
->andWhere($qb->expr()->orX(
...array_map(function (string $token) use ($qb) {
return $qb->expr()->orX(
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Base/modules/HeaderBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
font-weight: bold;
font-size: 1em;
line-height: 1.5em;
overflow: hidden;
overflow: clip;
text-overflow: ellipsis;
display: -webkit-box;
&.clamped {
Expand Down

0 comments on commit 692ae15

Please sign in to comment.