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