Added '> div > table' to lines 126, 127 and 130. This stopped the query
builder looping through all inner tables multiple times. When choosing the
following:
(and)
code contains test1
(add +() set to and)
country contains test2
government contains test3
(add +() set to and)
continent contains test4
When running it with the original file, it produces this:
( code contains test1 and ( country contains test2 and govt contains test3 and
( cont contains test4 ) ) and ( cont contains test4 ) )
Notice "cont contains test4" is repeated. If you add the find to look for '>
div > table', it will only search each table once, in the order they are
displayed and produce the following output:
( code contains test1 and ( country contains test2 and govt contains test3 and
( cont contains test4 ) ) )
Original issue reported on code.google.com by
pete.sli...@gmail.comon 23 May 2013 at 4:52Attachments: