##// END OF EJS Templates
chore(warnings): fixed sqlalchemy warning for use of cases syntax
super-admin -
r5200:382130ed default
parent child Browse files
Show More
@@ -215,7 +215,7 b' class IntegrationModel(BaseModel):'
215 (specific_repo_filter, 5),
215 (specific_repo_filter, 5),
216 )
216 )
217
217
218 order_by_criterion = case(cases)
218 order_by_criterion = case(*cases)
219
219
220 query = query.filter(or_(*clauses))
220 query = query.filter(or_(*clauses))
221 query = query.order_by(order_by_criterion)
221 query = query.order_by(order_by_criterion)
General Comments 0
You need to be logged in to leave comments. Login now