mirror of
https://github.com/urbanguacamole/torrent-paradise
synced 2024-10-31 21:20:13 +00:00
Make Name column sortable
This commit is contained in:
parent
ac37fbf337
commit
bf501dbf97
@ -9,7 +9,7 @@
|
|||||||
<b-table v-if="resultsFound" class="is-fullwidth" :data="results" default-sort="s" default-sort-direction="desc"
|
<b-table v-if="resultsFound" class="is-fullwidth" :data="results" default-sort="s" default-sort-direction="desc"
|
||||||
:striped="true" :narrowed="true">
|
:striped="true" :narrowed="true">
|
||||||
<template slot-scope="props">
|
<template slot-scope="props">
|
||||||
<b-table-column field="text" label="Name">
|
<b-table-column field="text" label="Name" sortable>
|
||||||
{{ props.row.text }}
|
{{ props.row.text }}
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
<b-table-column field="len" label="Size">
|
<b-table-column field="len" label="Size">
|
||||||
|
Loading…
Reference in New Issue
Block a user