From cf3ddfc610b02f6f6a1cdf526bb9b5e86e36b21a Mon Sep 17 00:00:00 2001 From: smilerz Date: Sun, 19 Dec 2021 11:08:30 -0600 Subject: [PATCH] fix inconsistent pagination --- vue/src/apps/RecipeSearchView/RecipeSearchView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index 6984c3c8a..81f5aad5a 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -304,7 +304,7 @@ export default { this.settings?.search_keywords?.length === 0 && this.settings?.search_foods?.length === 0 && this.settings?.search_books?.length === 0 && - this.settings?.pagination_page === 1 && + // this.settings?.pagination_page === 1 && !this.random_search && this.settings?.search_ratings === undefined ) { @@ -396,7 +396,7 @@ export default { if (!this.searchFiltered) { params.options = { query: { last_viewed: this.settings.recently_viewed } } } - console.log(params) + console.log(2, params) this.genericAPI(this.Models.RECIPE, this.Actions.LIST, params).then((result) => { window.scrollTo(0, 0) this.pagination_count = result.data.count