Skip to content

Commit ae5ce4e

Browse files
author
WangQianliang
authored
fix(code/frontend): fix document search result from (#45236) (#45334)
1 parent aaccd70 commit ae5ce4e

File tree

1 file changed

+1
-1
lines changed
  • x-pack/legacy/plugins/code/public/reducers

1 file changed

+1
-1
lines changed

x-pack/legacy/plugins/code/public/reducers/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const search = handleActions<SearchState, SearchPayload>(
156156
took,
157157
stats: {
158158
total,
159-
from: from! + 1,
159+
from: from as number,
160160
to: from! + results!.length,
161161
page: page!,
162162
totalPage: totalPage!,

0 commit comments

Comments
 (0)