Trials index view returns all trials
Closed this issue · 1 comments
aalvrz commented
While we want to allow users to view public trials, currently all trials are being retrieved from the database and then displayed or not displayed in a view conditional depending on the user ability.
This is not efficient. Only allowed records should be retrieved from the database.