Mahara mobile WS syncing notifications fails to sync 'ALL' notifications( e.g. user to user)

Bug #1656715 reported by Alexey Omelchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Medium
Unassigned

Bug Description

Related to #1656151.

function get_notifications in module_mobileapi_sync.php file uses following query to get notifications:
SELECT n.id, n.subject, n.message FROM {notification_internal_activity} n INNER JOIN {activity_type} a ON n.type=a.id WHERE FLOOR(EXTRACT(EPOCH FROM ctime AT TIME ZONE CURRENT_SETTING('TIMEZONE'))) BETWEEN ? AND ? AND n.usr= ? AND n.read = 0.

Query doesn't include notifications from user to user ...

Tags: mobile
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
tags: added: mobile
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.