Skip to content

Commit

Permalink
Changed sequencing_date query to __exact
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland committed Dec 19, 2024
1 parent 3e6af0b commit a6e2d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def search_samples(sample_name, lab_name, sample_state, s_date, user):
)
sample_objs = sample_objs.filter(pk__in=state_ids)
if s_date != "":
sample_objs = sample_objs.filter(sequencing_date=s_date)
sample_objs = sample_objs.filter(sequencing_date__exact=s_date)
if len(sample_objs) == 1:
sample_list.append(sample_objs[0].get_sample_id())
return sample_list
Expand Down

0 comments on commit a6e2d64

Please sign in to comment.