Skip to content

Commit 8c703d3

Browse files
committed
chore: Add pagination to search results bottom
1 parent c6eaf4e commit 8c703d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pages/explore.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ onMounted(async () => await queryResources());
237237
<!-- Start Display Search Results -->
238238
<SearchResults :key="hits" :resources="hits" />
239239
<!-- End Display Search Results -->
240+
241+
<vue-awesome-paginate v-if="estimatedTotal > 20" :total-items="estimatedTotal" :items-per-page="20" :max-pages-shown="5"
242+
v-model="page" :on-click="paginationClickHandler" />
240243
</div>
241244
</div>
242245

0 commit comments

Comments
 (0)