generated from Flycro/laravel-nuxt
feat: Add Sort to all Columns
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user