Page 1 of 1

filter help

Posted: Sat Dec 03, 2005 5:48 pm
by bovnet
I am trying to do a filter

if cameraid=1 and alarm frame is over 5 and time is > 22:00 and time < 07:30

when this is save the last line is changed to equal to and the time box blanked.

Have brackets around the time and the or function but no use.

Any filter examples ?

Posted: Mon Dec 05, 2005 7:09 pm
by zoneminder
You need to change the time terms to say ( time > 22:00 or time < 07:30 ) as time cannot be both later than 10pm and earlier than 7:30 as midnight is considered to be zero. Make sure you bracket the time terms to avoid ambiguity.

I can't reproduce any fields being blanked though. Are you submitting the filter to check results before saving?

Phil

Posted: Tue Dec 06, 2005 9:33 am
by bovnet
Thanks.

Looks like i am sorted. I was trying to save first