Skip to content

Commit

Permalink
fix: Fix openpitrix resources list orders
Browse files Browse the repository at this point in the history
  • Loading branch information
dongrui committed Feb 20, 2020
1 parent d95c486 commit 20841f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stores/openpitrix/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export default class Base {
conditions: getFilterString(conditions),
}

if (reverse === undefined) {
reverse = true
}

if (!isEmpty(filters)) {
const filterStr = getFilterString(filters)
params.conditions += filterStr ? `,${filterStr}` : ''
Expand Down

0 comments on commit 20841f6

Please sign in to comment.