Change sp view condition