public function getSiblings()
{
// If the request is in Live Preview mode, use the Neo-extended criteria model, which supports Live Preview mode
if (craft()->neo->isPreviewMode()) {
if (!isset($this->_liveCriteria['siblings'])) {
$criteria = craft()->neo->getCriteria();
$criteria->setAllElements($this->_allElements);
$criteria->siblingOf = $this;
$this->_liveCriteria['siblings'] = $criteria;
}
return $this->_liveCriteria['siblings'];
}
return parent::getSiblings();
}