fixup! Author books API: use a single query with result and count

This commit is contained in:
2026-01-25 00:43:13 +01:00
parent 8584e95ef7
commit 2250304bf0

View File

@@ -1,7 +1,7 @@
<script setup>
import { ref, computed } from 'vue'
import BookListElement from './BookListElement.vue';
import { getSearchBooks, getAuthorBooks, getCountAuthorBooks } from './api.js'
import { getSearchBooks, getAuthorBooks } from './api.js'
import { onBeforeRouteUpdate } from 'vue-router'
import Pagination from './Pagination.vue'