small filter addition
This commit is contained in:
@@ -39,7 +39,7 @@ do
|
||||
end
|
||||
|
||||
function public.on_load()
|
||||
public.version = '3.5.0'
|
||||
public.version = '3.5.1'
|
||||
public.blizzard_ui_shown = false
|
||||
public.bids_loaded = false
|
||||
public.current_owner_page = nil
|
||||
|
||||
+3
-1
@@ -475,7 +475,7 @@ function public.query(filter_term)
|
||||
local str = parts[i]
|
||||
i = i + 1
|
||||
|
||||
if str == 'or*' then
|
||||
if str == 'and*' or str == 'or*' then
|
||||
if polish_notation_counter > 1 then
|
||||
break
|
||||
end
|
||||
@@ -728,6 +728,8 @@ function public.validator(blizzard_filter, post_filter)
|
||||
tinsert(stack, a or b)
|
||||
elseif op == 'not' then
|
||||
tinsert(stack, not tremove(stack))
|
||||
elseif op == 'and*' then
|
||||
stack = {Aux.util.all(stack, Aux.util.id)}
|
||||
elseif op == 'or*' then
|
||||
stack = {Aux.util.any(stack, Aux.util.id)}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user