We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd82bc5 commit f8e17b8Copy full SHA for f8e17b8
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vue-screener",
3
- "version": "0.15.20",
+ "version": "0.15.21",
4
"type": "module",
5
"description": "Easily search and filter data in Vue3.",
6
"author": "Francis Ashley",
src/utils/data.utils.ts
@@ -94,7 +94,7 @@ export const sortRows = (
94
const sortField = options.sortField
95
const sortDirection = options.invertSort ? (options.sortDirection === 'asc' ? 'desc' : 'asc') : options.sortDirection
96
if (sortField && sortDirection) {
97
- return [...orderBy(data, [(row: Row) => row.cells[sortField]], [sortDirection])]
+ return [...orderBy(data, [(row: Row) => row.cells[sortField].value], [sortDirection])]
98
}
99
return data
100
0 commit comments