From 1ed40bce1151065b9e4b09672119c2b1a378dd22 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 21 Sep 2021 23:34:56 +0000 Subject: [PATCH] --- docs/8.0/ayanova/docs/home-schedule.md | 7 +++++++ server/AyaNova/Controllers/ScheduleController.cs | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/8.0/ayanova/docs/home-schedule.md b/docs/8.0/ayanova/docs/home-schedule.md index 67182ce6..fe01ae38 100644 --- a/docs/8.0/ayanova/docs/home-schedule.md +++ b/docs/8.0/ayanova/docs/home-schedule.md @@ -15,9 +15,16 @@ Change Time in any other view but month view Tips and tricks: + + Click on appointment for popup mini display of relevant details or to open the source object for editing Click on Open or Icon at top of more info display to open it (no need to scroll down to open button) Click on Month-Year display in title above calendar to quickly go back to month view from other view + +DRAG / EXTEND +Mouse devices can drag drop and extend existing events (or click-drag on empty space to create new events) directly in the calendar +Non-mouse touch based devices need to change event times by opening and editing the object in it's UI +Non mouse touch devices can create new events in the calendar by touching an empty location however the times will need to be set in the object once it's open for editing Drag extend appointments at bottom Drag appointments to move to another day or time range Lock symbol on appointment means it cannot have it's time changed diff --git a/server/AyaNova/Controllers/ScheduleController.cs b/server/AyaNova/Controllers/ScheduleController.cs index 71e3fc4c..65218081 100644 --- a/server/AyaNova/Controllers/ScheduleController.cs +++ b/server/AyaNova/Controllers/ScheduleController.cs @@ -87,14 +87,14 @@ namespace AyaNova.Api.Controllers //REMINDERS if (p.Reminders) { - r.AddRange(await ct.Reminder.Where(x => ViewStart <= x.StopDate && x.StartDate <= ViewEnd).Select(x => MakeReminderSchedItem(x, p)).ToListAsync()); + r.AddRange(await ct.Reminder.Where(x => x.UserId==UserId && ViewStart <= x.StopDate && x.StartDate <= ViewEnd).Select(x => MakeReminderSchedItem(x, p)).ToListAsync()); } //REVIEWS if (p.Reviews) { - r.AddRange(await ct.Review.Where(x => ViewStart <= x.ReviewDate && x.ReviewDate <= ViewEnd).Select(x => MakeReviewSchedItem(x, p)).ToListAsync()); + r.AddRange(await ct.Review.Where(x => x.UserId== UserId && ViewStart <= x.ReviewDate && x.ReviewDate <= ViewEnd).Select(x => MakeReviewSchedItem(x, p)).ToListAsync()); } return Ok(ApiOkResponse.Response(r)); }