mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:37:07 +00:00
Filter sequence list locally (fetch all sequences).
Even in the event that we have thousands of sequences this should be acceptable and gives us more flexibility at lower effort than paginating on the server.
This commit is contained in:
@@ -8,13 +8,11 @@
|
|||||||
|
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-debounce:700ms="getSequences"
|
|
||||||
v-model="filter"
|
v-model="filter"
|
||||||
append-icon="mdi-magnify"
|
append-icon="mdi-magnify"
|
||||||
label="Filter"
|
label="Filter"
|
||||||
single-line
|
single-line
|
||||||
clearable
|
clearable
|
||||||
@click:clear="getSequences"
|
|
||||||
hint="Filter by sequence, line, date or remarks"
|
hint="Filter by sequence, line, date or remarks"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
@@ -26,7 +24,7 @@
|
|||||||
:items="items"
|
:items="items"
|
||||||
item-key="sequence"
|
item-key="sequence"
|
||||||
:server-items-length="num_rows"
|
:server-items-length="num_rows"
|
||||||
:options.sync="options"
|
:search="filter"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:fixed-header="true"
|
:fixed-header="true"
|
||||||
show-expand
|
show-expand
|
||||||
|
|||||||
Reference in New Issue
Block a user