generated from Flycro/laravel-nuxt
feat: Add Sort to all Columns
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ecc98924e3
commit
b07d0d3e9d
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue