The survey shows Republican voters ranked immigration as the second-most important issue after the economy , followed by the war in Iraq .