Fix another pagination bug with buefy grid tables
hopefully this gets it all working right...ugh
This commit is contained in:
parent
925e5e0731
commit
4c3112b85b
|
@ -147,15 +147,12 @@
|
||||||
backend-sorting
|
backend-sorting
|
||||||
@sort="onSort"
|
@sort="onSort"
|
||||||
|
|
||||||
## % if grid.pageable:
|
|
||||||
## paginated
|
|
||||||
:paginated="paginated"
|
:paginated="paginated"
|
||||||
:per-page="perPage"
|
:per-page="perPage"
|
||||||
:current-page="currentPage"
|
:current-page="currentPage"
|
||||||
backend-pagination
|
backend-pagination
|
||||||
:total="total"
|
:total="total"
|
||||||
@page-change="onPageChange"
|
@page-change="onPageChange"
|
||||||
## % endif
|
|
||||||
|
|
||||||
## TODO: should let grid (or master view) decide how to set these?
|
## TODO: should let grid (or master view) decide how to set these?
|
||||||
icon-pack="fas"
|
icon-pack="fas"
|
||||||
|
@ -295,7 +292,7 @@
|
||||||
`sortkey=${'$'}{this.sortField}`,
|
`sortkey=${'$'}{this.sortField}`,
|
||||||
`sortdir=${'$'}{this.sortOrder}`,
|
`sortdir=${'$'}{this.sortOrder}`,
|
||||||
`pagesize=${'$'}{this.perPage}`,
|
`pagesize=${'$'}{this.perPage}`,
|
||||||
`page=${'$'}{this.page}`
|
`page=${'$'}{this.currentPage}`
|
||||||
].join('&')
|
].join('&')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue