diff --git a/tabs/search/frames.lua b/tabs/search/frames.lua index 01dd62d..33601b8 100644 --- a/tabs/search/frames.lua +++ b/tabs/search/frames.lua @@ -553,7 +553,7 @@ Aux.search_tab.FRAMES(function(m, public, private) end do local label = Aux.gui.label(m.frame.filter, 13) - label:SetPoint('TOPLEFT', 350, -53) + label:SetPoint('TOPLEFT', 350, -40) label:SetWidth(300) label:SetJustifyH('LEFT') private.filter_display = label diff --git a/util/filter.lua b/util/filter.lua index 6153341..28722ad 100644 --- a/util/filter.lua +++ b/util/filter.lua @@ -541,11 +541,13 @@ function public.indented_post_query_string(components) for _, component in components do - if str ~= '' then - str = str..(no_line_break and ' ' or '|n') - end - for _=1,getn(stack) do - str = str..' ' + if no_line_break then + str = str..' ' + else + str = str..'|n' + for _=1,getn(stack) do + str = str..' ' + end end if component[1] == 'operator' and component[2] then