Fix another pagination bug with buefy grid tables

hopefully this gets it all working right...ugh
This commit is contained in:
Lance Edgar 2020-07-19 18:43:31 -05:00
parent 925e5e0731
commit 4c3112b85b

View file

@ -147,15 +147,12 @@
backend-sorting
@sort="onSort"
## % if grid.pageable:
## paginated
:paginated="paginated"
:per-page="perPage"
:current-page="currentPage"
backend-pagination
:total="total"
@page-change="onPageChange"
## % endif
## TODO: should let grid (or master view) decide how to set these?
icon-pack="fas"
@ -295,7 +292,7 @@
`sortkey=${'$'}{this.sortField}`,
`sortdir=${'$'}{this.sortOrder}`,
`pagesize=${'$'}{this.perPage}`,
`page=${'$'}{this.page}`
`page=${'$'}{this.currentPage}`
].join('&')
}