We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a721a2 commit 8bd0182Copy full SHA for 8bd0182
includes/data/connection/class-order-item-connection-resolver.php
@@ -91,6 +91,7 @@ public function get_query() {
91
$items = array();
92
foreach ( $this->source->get_items( $type ) as $id => $item ) {
93
$item->cached_order = $this->source;
94
+ $item->cached_id = $id;
95
$items[] = $item;
96
}
97
@@ -104,7 +105,7 @@ public function get_query() {
104
105
106
107
- $cursor = $this->get_offset();
108
+ $cursor = absint( $this->get_offset() );
109
$first = ! empty( $this->args['first'] ) ? $this->args['first'] : null;
110
$last = ! empty( $this->args['last'] ) ? $this->args['last'] : null;
111
0 commit comments