MOBILE-3913 timeline: Fix on timeline search sorting by dates

main
Pau Ferrer Ocaña 2022-01-21 14:51:00 +01:00
parent 2ea34e000c
commit fbc53cf64e
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<ion-item-group *ngFor="let dayEvents of filteredEvents">
<ion-item lines="none">
<ion-label>
<h4 [class.core-bold]="!course">{{ dayEvents.dayTimestamp * 1000 | coreFormatDate:"strftimedayshort" }}</h4>
<h4 [class.core-bold]="!course">{{ dayEvents.dayTimestamp * 1000 | coreFormatDate:"strftimedaydate" }}</h4>
</ion-label>
</ion-item>
<ng-container *ngFor="let event of dayEvents.events">

View File

@ -184,6 +184,7 @@ export class AddonBlockTimelineProvider {
if (searchValue != '') {
data.searchvalue = searchValue;
preSets.getFromCache = false;
preSets.cacheKey += ':' + searchValue;
}
const result = await site.read<AddonCalendarEvents>(