Skip to content

fix drive search query

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