Bug 373 - Fixed to work with saved weekday filters.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2021 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
2b5292eaa5
commit
e429a6b2f4
|
@ -328,16 +328,6 @@ sub getFilters
|
||||||
}
|
}
|
||||||
$value = "extract( hour_second from '$value' )";
|
$value = "extract( hour_second from '$value' )";
|
||||||
}
|
}
|
||||||
elsif ( $filter_terms{$attr_name} eq 'Weekday' )
|
|
||||||
{
|
|
||||||
$value = DateTimeToSQL( $temp_value );
|
|
||||||
if ( !$value )
|
|
||||||
{
|
|
||||||
Error( "Error parsing date/time '$temp_value', skipping filter '$filter_data->{Name}'\n" );
|
|
||||||
next FILTER;
|
|
||||||
}
|
|
||||||
$value = "weekday( '$value' )";
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$value = $temp_value;
|
$value = $temp_value;
|
||||||
|
|
Loading…
Reference in New Issue