Skip to content

Commit 8e4f243

Browse files
committed
[BOOK-106] chore: 페이지 증분 로직 롤백
1 parent 9648d62 commit 8e4f243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/search/src/main/kotlin/com/ninecraft/booket/feature/search/SearchPresenter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class SearchPresenter @AssistedInject constructor(
9595

9696
is SearchUiEvent.OnLoadMore -> {
9797
if (footerState !is FooterState.Loading && !isLastPage && queryState.text.toString().isNotEmpty()) {
98-
searchBooks(query = queryState.text.toString(), startIndex = currentStartIndex + PAGE_SIZE)
98+
searchBooks(query = queryState.text.toString(), startIndex = currentStartIndex + 1)
9999
}
100100
}
101101

0 commit comments

Comments
 (0)