Index: openacs-4/packages/calendar/www/view-week-display-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/view-week-display-postgresql.xql,v diff -u -r1.12 -r1.12.6.1 --- openacs-4/packages/calendar/www/view-week-display-postgresql.xql 26 Aug 2008 22:35:12 -0000 1.12 +++ openacs-4/packages/calendar/www/view-week-display-postgresql.xql 2 Oct 2015 16:23:02 -0000 1.12.6.1 @@ -21,37 +21,6 @@ - - -select to_char(start_date, :ansi_date_format) as ansi_start_date, - to_char(end_date, :ansi_date_format) as ansi_end_date, - coalesce(e.name, a.name) as name, - coalesce(e.status_summary, a.status_summary) as status_summary, - e.event_id as item_id, - extract(dow from start_date) as day_of_week, - cals.calendar_id, - cals.calendar_name, - cit.type as item_type -from acs_activities a, - acs_events e, - timespans s, - time_intervals t, - calendars cals, - cal_items ci left join - cal_item_types cit on cit.item_type_id = ci.item_type_id -where e.timespan_id = s.timespan_id -and s.interval_id = t.interval_id -and e.activity_id = a.activity_id -and start_date between - to_date(:first_weekday_of_the_week_tz, :ansi_date_format) and - to_date(:last_weekday_of_the_week_tz, :ansi_date_format) -and cals.calendar_id = ci.on_which_calendar -and e.event_id = ci.cal_item_id -$calendars_clause -order by to_char(start_date, 'J'), to_char(start_date,'HH24:MI') - - - select to_char(to_date(:start_date, 'YYYY-MM-DD'), 'D')