mothership-ec / cog-mothership-file-manager

Mothership File Manager Cogule
Other
1 stars 1 forks source link

Fix mysql query on search that was including deleted files #88

Closed thomasjthomasj closed 9 years ago

thomasjthomasj commented 9 years ago

The MySQL query was setting precedence to the AND between the delete where statement and the search term where statements, so this wraps the search term statements in brackets to ensure that no deleted files sneak into the fray