Skip to content

Commit 5ace467

Browse files
authored
Merge pull request #19 from grappler/patch-2
Updates the ids format of the entry list command to support the page-size and offset args
2 parents 683969b + 5e47374 commit 5ace467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-gf-cli-entry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ public function entry_list( $args, $assoc_args ) {
643643

644644
// If the fomate is set to 'ids', get the entry IDs
645645
if ( $format == 'ids' ) {
646-
$entry_ids = GFFormsModel::search_lead_ids( $form_id, $search_criteria );
646+
$entry_ids = GFAPI::get_entry_ids( $form_id, $search_criteria, array(), $paging, $total_count );
647647
echo implode( ' ', $entry_ids );
648648

649649
return;

0 commit comments

Comments
 (0)