From 5ef43798b439f67c7ce2ee4267a6b7a226d3e8f2 Mon Sep 17 00:00:00 2001 From: katsufumi shibata Date: Wed, 20 Dec 2023 09:42:22 +0800 Subject: [PATCH] Fix bugs where infinite scroll not working becuase the parameter names are incorrect --- .../src/components/internal/search/search_mooring.vue | 2 +- .../src/components/internal/search/search_person.vue | 2 +- .../src/components/internal/search/search_sticker.vue | 2 +- .../src/components/internal/search/search_vessel.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_mooring.vue b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_mooring.vue index 8b67f8f9..6a15fdbb 100755 --- a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_mooring.vue +++ b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_mooring.vue @@ -72,7 +72,7 @@ from '@/utils/hooks' data: function(params) { return { search_term: params.term, - page: params.page || 1, + page_number: params.page || 1, type: 'public', } }, diff --git a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_person.vue b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_person.vue index 53f76a72..2955b122 100755 --- a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_person.vue +++ b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_person.vue @@ -68,7 +68,7 @@ from '@/utils/hooks' data: function(params) { return { search_term: params.term, - page: params.page || 1, + page_number: params.page || 1, type: 'public', } }, diff --git a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_sticker.vue b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_sticker.vue index 0ecf5d87..355afa68 100755 --- a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_sticker.vue +++ b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_sticker.vue @@ -72,7 +72,7 @@ from '@/utils/hooks' data: function(params) { return { search_term: params.term, - page: params.page || 1, + page_number: params.page || 1, type: 'public', } }, diff --git a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_vessel.vue b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_vessel.vue index 97cb152f..59d4af78 100755 --- a/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_vessel.vue +++ b/mooringlicensing/frontend/mooringlicensing/src/components/internal/search/search_vessel.vue @@ -79,7 +79,7 @@ from '@/utils/hooks' data: function(params) { return { search_term: params.term, - page: params.page || 1, + page_number: params.page || 1, type: 'public', } },