Current Behavior: Every-time we loggout from the app, the statistics table is cleared. But it clears also the featured content statistics data. So next time we launch the app they show to be zero. Additionally, also the statistics of the exclusive content seem to be zero.
Desired Behavior: Statistics to be properly loaded from the server for exclusive content and to be properly displayed. Statistics to be properly stored in local database for the featured content and to be displayed properly
HINT: The statistics data for exclusive content are loaded properly from the server. To have a look to
the transition to statistics function in the controller,
to set the correct course_id
to check why the first/last active day is not taken properly.
The statistics data for featured content can be done in answer model by deleting all statistics data for those courses that belong to the course list of the user. Check why this does not work. Check the correct of the query.
Current Behavior: Every-time we loggout from the app, the statistics table is cleared. But it clears also the featured content statistics data. So next time we launch the app they show to be zero. Additionally, also the statistics of the exclusive content seem to be zero.
Desired Behavior: Statistics to be properly loaded from the server for exclusive content and to be properly displayed. Statistics to be properly stored in local database for the featured content and to be displayed properly
HINT: The statistics data for exclusive content are loaded properly from the server. To have a look to
The statistics data for featured content can be done in answer model by deleting all statistics data for those courses that belong to the course list of the user. Check why this does not work. Check the correct of the query.