Index: openacs-4/packages/calendar/tcl/cal-item-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/cal-item-procs.xql,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/calendar/tcl/cal-item-procs.xql 23 Nov 2017 08:43:16 -0000 1.9 +++ openacs-4/packages/calendar/tcl/cal-item-procs.xql 22 Apr 2018 18:02:52 -0000 1.10 @@ -1,11 +1,20 @@ + + + insert into cal_uids + (cal_uid, on_which_activity, ical_vars) + values + (:cal_uid, :activity_id, :ical_vars) + + + select CASE WHEN cast(:start_date as timestamp with time zone) <= cast(:end_date as timestamp with time zone) THEN 1 - ELSE -1 + ELSE 0 END from dual @@ -28,7 +37,8 @@ c.package_id as calendar_package_id, e.related_link_url, e.related_link_text, - e.redirect_to_rel_link_p + e.redirect_to_rel_link_p, + e.location from acs_events e join timespans s on (e.timespan_id = s.timespan_id) @@ -67,7 +77,8 @@ c.package_id as calendar_package_id, e.related_link_url, e.related_link_text, - e.redirect_to_rel_link_p + e.redirect_to_rel_link_p, + e.location from acs_events e join timespans s on (e.timespan_id = s.timespan_id) @@ -185,8 +196,9 @@ update acs_events set name = :name, - description = :description - where event_id= :cal_item_id + description = :description, + location = :location + where event_id = :cal_item_id