silverstripe/sapphire — pull request #564 by sminnee (2012-06-22 02:36:08+00:00)
Title: BUG: exclude() clears previously selected filters() (Trac #7529)

This bug was caused by the fact that SQLQuery::whereAny() removed existing filters. In line with addWhere() and setWhere(), I split this into addWhereAny() and setWhereAny(). Strictly speaking, this drops the method SQLQuery::whereAny(), but it was really just an internal function for exclude, and so I think that's acceptable.