An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
This was trying to create a where clause even when there was no actual clause to insert thereby creating a SQL error preventing Antoine from download a .csv
A hack I've used before for constructed SQL is to start the WHERE with WHERE TRUE- then all the added useful clauses have the same 'AND' syntax, making it a little simpler to write.
This was trying to create a where clause even when there was no actual clause to insert thereby creating a SQL error preventing Antoine from download a .csv
Resolves #298