refs #7694 hotfix filter
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
02c2ccd62e
commit
944cf3baa3
|
@ -348,6 +348,7 @@ module.exports = Self => {
|
|||
stmt.merge(conn.makeWhere(problems));
|
||||
|
||||
if (filter.order) {
|
||||
if (typeof filter.order == 'string') filter.order = [filter.order];
|
||||
const index = filter.order.findIndex(o => o.includes('stateFk'));
|
||||
if (index > -1) {
|
||||
filter.order = [
|
||||
|
|
Loading…
Reference in New Issue