fix to parenthesis problem in filter window

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
rachalc
Posts: 1
Joined: Sun May 01, 2005 6:03 pm

fix to parenthesis problem in filter window

Post by rachalc »

Hi
I had a problem with filter window when i make group in parenthesis,
the problem apears in this example

(( expresion ) or ( expresion )) and expresion

I try this with Internet Explorer, perhaps only here is failing.

but its soved adding "*1" into zm_html_view_filter.php in lines 147 and 148

bracket_count += form.obr<?= $i ?>.value * 1;
bracket_count -= form.cbr<?= $i ?>.value * 1;

i hope that it is to you useful.

:)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks. I will check this out and add a fix into the next version.

Phil
Post Reply