small filter fix
This commit is contained in:
+7
-8
@@ -546,12 +546,8 @@ function private.prettified_query_string(components)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if blizzard_filters.name and not blizzard_filters.exact then
|
if blizzard_filters.name and not blizzard_filters.exact and blizzard_filters.name ~= '' then
|
||||||
if m.unquote(blizzard_filters.name) == '' then
|
prettified.prepend(aux.gui.inline_color.label.enabled..m.unquote(blizzard_filters.name)..FONT_COLOR_CODE_CLOSE)
|
||||||
prettified.prepend(aux.auction_listing.colors.RED..'No Filter'..FONT_COLOR_CODE_CLOSE)
|
|
||||||
else
|
|
||||||
prettified.prepend(aux.gui.inline_color.label.enabled..m.unquote(blizzard_filters.name)..FONT_COLOR_CODE_CLOSE)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, component in components.post do
|
for _, component in components.post do
|
||||||
@@ -569,8 +565,11 @@ function private.prettified_query_string(components)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if prettified.get() == '' then
|
||||||
return prettified.get()
|
return aux.auction_listing.colors.RED..'No Filter'..FONT_COLOR_CODE_CLOSE
|
||||||
|
else
|
||||||
|
return prettified.get()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function public.quote(name)
|
function public.quote(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user