Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit 7ec819c

Browse files
Emitting name event sort
1 parent e5080fe commit 7ec819c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/utils/DatasourceUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ export default {
9595
this.columnSortSelected.order = false
9696
this.columnSortSelected.key = key
9797
}
98-
this.$emit('column-sort', this.columnSortSelected)
98+
let sortType = (this.columnSortSelected.order) ? 'ASC' : 'DESC'
99+
this.$emit('column-sort', { sort: this.columnSortSelected, type: sortType })
99100
},
100101

101102
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /