title: Pagination doesn't work for me with b-table
body: <p>I'm building an app using <code>VueJS</code> with <code>bootstrapVue</code> for frontend and <code>Django</code> for backend. I'm using <code>b-table</code> and I would like to use pagination by <code>b-pagination</code>.</p>
  <p>In my <code>itemsProvider</code> function I get the current page of the <code>b-pagination</code> like this <code>ctx.currentPage</code> and send a request to the back-end. The problem is that when I clicked on the buttons of the b-pagination the <code>itemsProvider</code> function isn't recalled, and I don't know why.</p>
  <p>Below is a portion of code:</p>
  <pre><code>&lt;template&gt;
    &lt;div class=&quot;container&quot;&gt;
      &lt;b-pagination v-model=&quot;currentPage&quot; :totalRows=&quot;totalRows&quot; :per-page=&quot;perPage&quot;&gt;&lt;/b-pagination&gt;
      &lt;p&gt;Current page {{currentPage}}&lt;/p&gt;
      &lt;b-table
        current-page=&quot;currentPage&quot;
        per-page=&quot;perPage&quot;
        :items=&quot;itemsProvider&quot;
        :fields=&quot;fields&quot;
      &gt;
      &lt;/b-table&gt;
  
    &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  import { mapActions } from &quot;vuex&quot;;
  export default {
    name: &quot;Archive&quot;,
    data() {
      return {
        perPage: 10,
        totalRows: 200,
        pageOptions: [5, 10, 22],
        currentPage: 1,
        bookInfo: {},
        fields: [...]
      };
    },
    computed: {
      books() {
        return this.$store.getters[&quot;books/books&quot;].filter(item =&gt; {
          return item.status == &quot;AR&quot;;
        });
      }
    },
    methods: {
      ...mapActions({
        getArchivedBooks: &quot;books/getArchivedBooks&quot;
      }),
      itemsProvider(ctx, callback) {
        console.log(ctx.currentPage)
        let page = ctx.currentPage;
        return this.getArchivedBooks(page).then(() =&gt; {
          const items = this.books;
          return items || [];
        });
      },
    }
  };
  &lt;/script&gt;
  </code></pre>