"Click to expand it" button does not work
When reviewing MR changes, an attempt to expand collapsed diff fails. It reproduces at gitlab.com and at my CE location too. Brief investigation shown that this button is implemented incorrectly and opens a diff not between selected versions, but a diff between latest and base version always. If there are no changes between latest and base versions, it shows nothing. Note, that at the same time it seems to show correct number of additions/deletions at the right part of the caption:
Steps to reproduce
Just go to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27280/diffs?diff_id=41244668&start_sha=dd2b644a451890e65fc8c0641ff2b5a49f6eacba
and click "Click to expand it" on file
Such a project already exists, see above.
What is the current bug behavior?
Changes are not shown.
What is the expected correct behavior?
Changes should be shown.
Relevant logs and/or screenshots
I don't have logs, this bug seems obvious.
Output of checks
This bug happens on GitLab.com