Add hook for the reporting view

(cherry picked from commit 3d32e51ea0fadd23b67f178311aa8e06fd017e1e)