It includes any cards discarded during the Search action, so it includes the People's Favor, but not cards like Dazzle.