The Idaho Senate in a 20-11 vote on Wednesday advanced a bill to prevent government entities from displaying certain flags.