diff --git a/src/ORM/DataList.php b/src/ORM/DataList.php index b494c7441..26069cb3a 100644 --- a/src/ORM/DataList.php +++ b/src/ORM/DataList.php @@ -1014,7 +1014,8 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li */ public function column($colName = "ID") { - return $this->dataQuery->distinct(false)->column($colName); + $dataQuery = clone $this->dataQuery; + return $dataQuery->distinct(false)->column($colName); } /**