Skip to content
Snippets Groups Projects

fix drive search query

Merged dakkar requested to merge feature/maybe-fix-drive-query into develop

What does this PR do?

.andWhere does not add parentheses, so that or changed the whole meaning of the query. In particular, it returned files belonging to other users!

Tested on my laptop, also checked that the queries are correct by modifying postgresql.ts and making it log the whole query, not just the first 100 characters.

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading