Skip to content

Fix unclear closing issue behaviour on Merge Request show page

This MR fixes #26152 (closed), that was caused by the MergeRequest#issues_merged_but_not_closing not taking in consideration the issues closed in the MR's commit messages.

I've changed the MergeRequest#issues_merged_but_not_closing method to use the existing MergeRequest#closes_issues, that do take in consideration commit messages, method instead of, wrongly, re-writing the functionality.

/cc @smcgivern

Merge request reports