Replace slow related_notes call with notes

What does this MR do and why?

It replaces slow related_notes call with notes as it was done via !221236 (merged). It was missed during that MR and I just noticed while I was trying to verify the fix.

References

#585822 (closed)

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #585822 (closed)

Merge request reports

Loading