From 4c3112b85bdf994cadb24ce0a2b93e85b29ef879 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 19 Jul 2020 18:43:31 -0500 Subject: [PATCH] Fix another pagination bug with buefy grid tables hopefully this gets it all working right...ugh --- tailbone/templates/grids/buefy.mako | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tailbone/templates/grids/buefy.mako b/tailbone/templates/grids/buefy.mako index 699161c8..ac814a8a 100644 --- a/tailbone/templates/grids/buefy.mako +++ b/tailbone/templates/grids/buefy.mako @@ -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('&') }