Skip to content

Commit

Permalink
Include data from term_taxonomy table
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranmaher committed Sep 30, 2014
1 parent 235fd7f commit 9c3660a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function categories()
'term_relationships',
'object_id',
'term_taxonomy_id'
)->select('terms.*');
)->select(['terms.*', 'term_taxonomy.*']);
}

/**
Expand All @@ -132,7 +132,7 @@ public function tags()
'term_relationships',
'object_id',
'term_taxonomy_id'
)->select('terms.*');
)->select(['terms.*', 'term_taxonomy.*']);
}

/**
Expand All @@ -147,7 +147,7 @@ public function formats()
'term_relationships',
'object_id',
'term_taxonomy_id'
)->select('terms.*');
)->select(['terms.*', 'term_taxonomy.*']);
}

/**
Expand Down

0 comments on commit 9c3660a

Please sign in to comment.