#5126 - Unread notification bugs

This is a spacer post for a website comment topic. The content this topic relates to: #5126 - Unread notification bugs
1) notifications module has this code

delete_cache_entry('_get_notifications', null, $member_id);

$member_id is the from member. We need the to member. Which is not necessarily the same as get_member() (as an admin could be viewing anyone's notification).

2) core_notifications.js has this code

$dom.html(spot, $dom.html(display[0]));
$dom.html(button.firstElementChild, $dom.html(unread[0]));

Which is horrible and needs re-factoring. Pretty sure it's the cause.
0 guests and 0 members have recently viewed this.