Fixed a bug in the Event view where the link to the Calendar Search
was wrong. Added a new template variable, urlSearch to the Event view template. I added a new method to the Calendar to handle this, getUrlSearch.
This commit is contained in:
parent
1ed783b2c5
commit
3d5763269a
5 changed files with 35 additions and 1 deletions
|
|
@ -1303,6 +1303,7 @@ sub getTemplateVars {
|
|||
$var{"urlWeek"} = $self->getParent->getUrl("type=week;start=".$dtStart->toMysql);
|
||||
$var{"urlMonth"} = $self->getParent->getUrl("type=month;start=".$dtStart->toMysql);
|
||||
$var{"urlParent"} = $self->getParent->getUrl;
|
||||
$var{"urlSearch"} = $self->getParent->getSearchUrl;
|
||||
|
||||
|
||||
# Related links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue