Skip to content

Commit

Permalink
fix(code/frontend): fix document search result from (#45236) (#45334)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangQianliang authored Sep 11, 2019
1 parent aaccd70 commit ae5ce4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/code/public/reducers/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const search = handleActions<SearchState, SearchPayload>(
took,
stats: {
total,
from: from! + 1,
from: from as number,
to: from! + results!.length,
page: page!,
totalPage: totalPage!,
Expand Down

0 comments on commit ae5ce4e

Please sign in to comment.