From 2442e80ceaf99501c7a0cad45e418c6c80aec2c2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 5 May 2022 10:34:35 +0200 Subject: [PATCH] Make sorting enable if we are in 4days view and view is not consolidated --- calendar/js/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 63ca3e7ae9..95245205a5 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -965,7 +965,7 @@ export class CalendarApp extends EgwApp direction: state.view == 'day'? 'horizental' : 'vertical', sort: state.owner.length > 1 && ( state.view == 'day' && state.owner.length < parseInt(''+egw.preference('day_consolidate','calendar')) || - state.view == 'week' && state.owner.length < parseInt(''+egw.preference('week_consolidate','calendar'))), // enable/disable sort + (state.view == 'week' || state.view == 'day4') && state.owner.length < parseInt(''+egw.preference('week_consolidate','calendar'))), // enable/disable sort onStart: function (event) { // Put owners into row IDs