Fix of views of notifications, file manager

Fix the vies of the log of the notifications in module teacher and
student. Fix the log of the administrator, fix the view of the file
manager, fix the query of the attachment