Seeing this thread gave me an idea. For anyone interested, I have adjusted the code to also allow alt+ctrl clicking groups to report advertisements. Much easier to get rid of all the WTS groups.
Lua Code:
for _,b in pairs(LFGListFrame.SearchPanel.ScrollFrame.buttons) do
b:HookScript("OnDoubleClick",function(s)
LFGListApplicationDialog_Show(LFGListApplicationDialog,s.resultID)
end) -- double click to sign up groups
b:HookScript("PostClick",function(s)
if IsAltKeyDown() and IsControlKeyDown() then
C_LFGList.ReportSearchResult(s.resultID,"lfglistspam")
LFGListSearchPanel_AddFilteredID(LFGListFrame.SearchPanel,s.resultID)
LFGListSearchPanel_UpdateResultList(LFGListFrame.SearchPanel)
LFGListSearchPanel_UpdateResults(LFGListFrame.SearchPanel)
end
end) -- alt+ctrl click to report ads
end