My monthly calendar displays the week numbers in the left hand column, but the links from there are like

http://2008/W45

In looking at the code, I see that calendar.theme has

line 45: $view->page_url = calendar_page_url($view);

but that $params['url'] is not set before calling calendar_build_calendar at line 73. By inserting

$params['url'] = $view->page_url; at line 64

Things seem to work properly.

I don't know whether this is the proper fix, or whether the calendar.inc or calendar_api.inc calendar_build_* functions should use $views->page_url directly instead of $params['url']

Comments

KarenS’s picture

Status: Active » Fixed

This is working right in the latest version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.