Skip to content
Browse files

disable pagination in get_non_connectable(). fixes #273

  • Loading branch information...
1 parent 93167a6 commit 59ebcff8fb70fa2ce4a18ce1b3cc23d50fa5cf08 @scribu committed Nov 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/directed-type.php
View
2 core/directed-type.php
@@ -162,6 +162,8 @@ protected function get_non_connectable( $item, $extra_qv ) {
}
$extra_qv['fields'] = 'ids';
+ $extra_qv['p2p:per_page'] = -1;
+
$already_connected = $this->get_connected( $to_check, $extra_qv, 'abstract' )->items;
_p2p_append( $to_exclude, $already_connected );

0 comments on commit 59ebcff

Please sign in to comment.
Something went wrong with that request. Please try again.