Skip to main content
added 36 characters in body
Source Link
Gohil Rajesh
  • 3.1k
  • 1
  • 14
  • 25

You can try something as below.

 $collection->getSelect()->group('main_table.entity_id');
$collection->getSelect()->group('main_table.entity_id');

You can try something as below.

 $collection->getSelect()->group('main_table.entity_id');
Source Link

$collection->getSelect()->group('main_table.entity_id');