fix: Event calendar SCOPE doesn't work!!
This commit is contained in:
parent
e81ce2759a
commit
5675e101c9
3 changed files with 60 additions and 34 deletions
|
|
@ -258,7 +258,7 @@ sub view {
|
|||
$events = $self->getLineage(['descendants'],
|
||||
{returnObjects=>1,includeOnlyClasses=>['WebGUI::Asset::Event']});
|
||||
} elsif ($scope == 1) { # Calendar Scope is Global
|
||||
$events = WebGUI::Asset::getRoot($session)->getLineage(['descendants'],
|
||||
$events = WebGUI::Asset->getRoot($session)->getLineage(['descendants'],
|
||||
{returnObjects=>1,includeOnlyClasses=>['WebGUI::Asset::Event']});
|
||||
}
|
||||
# Sort events by startDate, then endDate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue