add user password reset, add series image switch, add image licences, redesign exclude filters

This commit is contained in:
Milan
2018-03-17 13:14:13 +01:00
parent b3f743dee9
commit aadf3fd06e
48 changed files with 1329 additions and 667 deletions

View File

@@ -78,6 +78,17 @@ sub get{
return $projects;
}
# requires at least project_id
sub getImageById{
my $config = shift;
my $conditions = shift;
return undef unless defined $conditions->{project_id};
my $projects=project::get($config, $conditions);
return undef if scalar(@$projects) != 1;
return $projects->[0]->{image};
}
sub get_date_range{
my $config=shift;
my $query=qq{