Commit 8c148cab authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

file.py fix file edit sample_sets

listing sample_sets in edit was broken due to the changes implemented
with the generic table. This commit resovles that issue
parent ff346cd7
......@@ -64,11 +64,11 @@ def add():
))
query_sample_set = db(
auth.vidjil_accessible_query(PermissionEnum.read.value, db.sample_set)
auth.vidjil_accessible_query(PermissionEnum.read.value, db.generic)
).select(
db.sample_set.id,
db.sample_set.name,
orderby = ~db.sample_set.id
db.generic.id,
db.generic.name,
orderby = ~db.generic.id
)
sample_set_list = []
sample_set_name = ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment