mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
fixed hound
This commit is contained in:
parent
deb739efa6
commit
7653f2b9ec
1 changed files with 2 additions and 2 deletions
|
@ -138,13 +138,13 @@ class SampleDatatable < AjaxDatatablesRails::Base
|
|||
samples = samples.joins('LEFT OUTER JOIN sample_my_modules ON
|
||||
(samples.id = sample_my_modules.sample_id AND
|
||||
sample_my_modules.id IS NULL)')
|
||||
.references(:sample_my_modules)
|
||||
.references(:sample_my_modules)
|
||||
else
|
||||
samples = samples.joins("LEFT OUTER JOIN sample_my_modules ON
|
||||
(samples.id = sample_my_modules.sample_id AND
|
||||
(sample_my_modules.my_module_id IN (#{ids}) OR
|
||||
sample_my_modules.id IS NULL))")
|
||||
.references(:sample_my_modules)
|
||||
.references(:sample_my_modules)
|
||||
end
|
||||
elsif @experiment
|
||||
@assigned_samples = @experiment.assigned_samples
|
||||
|
|
Loading…
Reference in a new issue