Support from Acquia helps fund testing for Drupal Acquia logo

Comments

IshaDakota’s picture

Assigned: Unassigned » IshaDakota
IshaDakota’s picture

Assigned: IshaDakota » Unassigned
Status: Active » Needs review
FileSize
712 bytes
Gung Wang’s picture

Assigned: Unassigned » Gung Wang

I take it.

oenie’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.phpundefined
@@ -1732,7 +1732,7 @@ function aggregation_method_simple($group_type, $field) {
+  function aggregationMethodDistinct($group_type, $field) {

Add public access modifier in front of the function to adher to the new OOP standards.

oenie’s picture

Status: Needs review » Needs work
zschmid’s picture

Status: Needs work » Needs review

adding public access modifier

zschmid’s picture

oenie’s picture

Status: Needs review » Needs work

Sorry to throw this back again, but it seems we've missed a spot:

core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php, Line 1670:

'method' => 'aggregation_method_distinct'

zschmid’s picture

Woops - good catch. sorry about that. here's an updated patch.

zschmid’s picture

Status: Needs work » Needs review
oenie’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me now !

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e504933 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.