filter help

Support and queries relating to all previous versions of ZoneMinder
Locked
bovnet
Posts: 38
Joined: Tue Jun 28, 2005 9:53 pm

filter help

Post 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 ?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
bovnet
Posts: 38
Joined: Tue Jun 28, 2005 9:53 pm

Post by bovnet »

Thanks.

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