From 3819dd94698d6b6733ab3866093605b041545fab Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Jul 2020 22:05:57 -0500 Subject: [PATCH] Fix pagination sync issue with buefy grid tables --- tailbone/templates/grids/buefy.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/grids/buefy.mako b/tailbone/templates/grids/buefy.mako index f1bfadf1..699161c8 100644 --- a/tailbone/templates/grids/buefy.mako +++ b/tailbone/templates/grids/buefy.mako @@ -334,7 +334,7 @@ }, onPageChange(page) { - this.page = page + this.currentPage = page this.loadAsyncData() }, @@ -343,7 +343,7 @@ this.sortOrder = order // always reset to first page when changing sort options // TODO: i mean..right? would we ever not want that? - this.page = 1 + this.currentPage = 1 this.loadAsyncData() },