add event creation batch, lib changes for past changes

This commit is contained in:
Milan
2018-03-17 13:38:36 +01:00
parent aadf3fd06e
commit 077d9c5a53
15 changed files with 885 additions and 114 deletions

View File

@@ -184,7 +184,10 @@ sub get{
my $dbh=db::connect($config, $request);
my $used_days=events::get_by_date_range($dbh, $config, $start_date, $end_date);
my $used_days=events::get_by_date_range($dbh, $config, $start_date, $end_date,{
exclude_projects => 1,
exclude_locations => 1,
});
my $used_day={};
for my $day(@$used_days){
$used_day->{$day->{start_date}}=1;