Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,18 @@ protected function _getSolrResult()

public function getLoadedIds ()
{}
}

/**
* Retrieve item id
*
* @param $item
* @return mixed
*/
protected function _getItemId($item)
{
if($item instanceof Apache_Solr_Document){
return $item->getField('product_id')['value'];
}
return parent::_getItemId($item);
}
}