Commit 12cb54be authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '209784-fix-notes-pagination-values' into 'master'

Fix notes_data so the initial value is in microseconds

See merge request gitlab-org/gitlab!42124
parents 648abf78 b721c9d0
...@@ -181,7 +181,7 @@ module NotesHelper ...@@ -181,7 +181,7 @@ module NotesHelper
reopenPath: reopen_issuable_path(issuable), reopenPath: reopen_issuable_path(issuable),
notesPath: notes_url, notesPath: notes_url,
prerenderedNotesCount: issuable.capped_notes_count(MAX_PRERENDERED_NOTES), prerenderedNotesCount: issuable.capped_notes_count(MAX_PRERENDERED_NOTES),
lastFetchedAt: Time.now.to_i lastFetchedAt: Time.now.to_i * ::Gitlab::UpdatedNotesPaginator::MICROSECOND
} }
if issuable.is_a?(MergeRequest) if issuable.is_a?(MergeRequest)
......
---
title: Use the correct start time when polling for updated notes
merge_request: 42124
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment