Fix pagination

Fix persistent search
This commit is contained in:
mcarquigny
2025-03-30 13:48:13 +02:00
parent 86afee27c5
commit 16383afd2c
3 changed files with 5 additions and 4 deletions

View File

@ -7,11 +7,11 @@ HFSPlay stock management
- [x] handle file upload - [x] handle file upload
- [ ] editable categories - [ ] editable categories
- [x] qrcode generation - [x] qrcode generation
- [ ] fix search to be persistent - [x] fix search to be persistent
- [ ] fix comments to be more legible - [ ] fix comments to be more legible
- [ ] fix comments to allow resolution - [ ] fix comments to allow resolution
- [ ] batch print QR codes - [ ] batch print QR codes
- [ ] fix tables pagination - [x] fix tables pagination
## Ideas ## Ideas

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<q-input v-model="srcTxt" <q-input v-model="srcTxt"
@input="updateSearchUrl" @update:model-value="updateSearchUrl"
placeholder="Rechercher une référence ou un nom" placeholder="Rechercher une référence ou un nom"
autofocus autofocus
clearable clearable

View File

@ -5,7 +5,7 @@
:title="category.name" :title="category.name"
:rows="items" :rows="items"
:columns="dynamicColumns" :columns="dynamicColumns"
:pagination="pagination" v-model:pagination="pagination"
row-key="ref" row-key="ref"
@update:pagination="updatePaginationUrl" @update:pagination="updatePaginationUrl"
> >
@ -19,6 +19,7 @@
<q-input <q-input
borderless borderless
clearable clearable
dense
icon="search" icon="search"
color="secondary" color="secondary"
v-model="search" v-model="search"