Skip to content

Commit

Permalink
Stop setting the id from _id. Closes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
fadion committed Aug 20, 2015
1 parent 0b7dddb commit 8113077
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Fadion/Bouncy/BouncyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ public function newFromElasticResults(Array $hit)
$instance = $this->newInstance(array(), true);

$attributes = $hit['_source'];
$attributes['id'] = $hit['_id'];

$instance->isDocument = true;

Expand Down

0 comments on commit 8113077

Please sign in to comment.