Please have a look at this:
http://www.sspaste.com/paste/show/50fc8a072fc12:
01 <?php
02
03 $myDataList = MyDataObject::get();
04
05 //option 1
06 $myDataList = $myDataList->Filter("MyField", 1);
07
08
09 //option 2
10 $myDataList->Filter("MyField", 1);
11
12 return $myDataList
13
14 // QUESTION: does option 1 return the same as 2? Is that something that is different between 3.0 and 3.1?
This is a really important question. My answer is that option 1 is not the same as option 2. This surprises me and does not seem intuitive.
I would love to hear some thoughts on this.
Nicolaas