Skip to content

Commit

Permalink
Add number=1 param to the user-count query arg
Browse files Browse the repository at this point in the history
  • Loading branch information
aswasif007 committed Mar 22, 2024
1 parent 3bf5d2d commit 5ff19bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion search/includes/classes/class-health.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ public static function validate_index_users_count( $options = array() ) {
$index_version = $search->versioning->get_current_version_number( $users );

$query_args = [
'order' => 'asc',
'order' => 'asc',
'number' => 1,
];

$result = ( new self( $search ) )->validate_index_entity_count( $query_args, $users );
Expand Down

0 comments on commit 5ff19bd

Please sign in to comment.