diff --git a/sbas/templates/sbas/question_review_question.html b/sbas/templates/sbas/question_review_question.html index 0c5923b6..d7ab88a3 100644 --- a/sbas/templates/sbas/question_review_question.html +++ b/sbas/templates/sbas/question_review_question.html @@ -153,7 +153,13 @@ const params = new URLSearchParams(); if (activeCategory) params.set('category', activeCategory); if (activeStatus) params.set('status', activeStatus); - // Next navigates to the next matching item (no skip) + // Preserve any existing skip value from current URL so the caller's + // skip position isn't lost when moving to the next item. + const curParams = new URLSearchParams(window.location.search); + const curSkip = curParams.get('skip'); + if (curSkip) params.set('skip', curSkip); + + // Next navigates to the next matching item (respecting skip) const qs = params.toString(); window.location.href = qs ? (base + '?' + qs) : base; });