feat: Add Sort to all Columns
continuous-integration/drone/push Build is passing Details

main
Flycro 2024-03-21 12:52:55 +01:00
parent ecc98924e3
commit b07d0d3e9d
1 changed files with 7 additions and 0 deletions

View File

@ -14,14 +14,17 @@ const columns = [
{ {
key: 'book_name', key: 'book_name',
label: 'Name', label: 'Name',
sortable: true,
}, },
{ {
key: 'author', key: 'author',
label: 'Autor', label: 'Autor',
sortable: true,
}, },
{ {
key: 'published_at', key: 'published_at',
label: 'Erstveröffentlichung', label: 'Erstveröffentlichung',
sortable: true,
}, },
{ {
key: 'description', key: 'description',
@ -30,18 +33,22 @@ const columns = [
{ {
key: 'pages', key: 'pages',
label: 'Seiten', label: 'Seiten',
sortable: true,
}, },
{ {
key: 'recommender.name', key: 'recommender.name',
label: 'Empfohlen von', label: 'Empfohlen von',
sortable: true,
}, },
{ {
key: 'created_at', key: 'created_at',
label: 'Erstellt am', label: 'Erstellt am',
sortable: true,
}, },
{ {
key: 'status', key: 'status',
label: 'Status', label: 'Status',
sortable: true,
}, },
{ {
key: 'votes', key: 'votes',