Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hansenm’s picture

Assigned: Unassigned » hansenm

I'll take this one.

hansenm’s picture

Status: Active » Needs review
FileSize
866 bytes

Submitting a patch to update the compile_fields method.

oenie’s picture

Status: Needs review » Needs work
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.phpundefined
@@ -1189,7 +1189,7 @@ function get_non_aggregates() {
+  function compileFields($query) {

Add protected access modifier in front of the functions to adher to the new OOP standards.

nathangervais’s picture

Assigned: hansenm » nathangervais
Status: Needs work » Needs review
FileSize
884 bytes

Rerolled Patch with Protected Access modifier

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Perfect

webchick’s picture

Title: Rename Views method compile_fields() to compileFields() » Change notice: Rename Views method compile_fields() to compileFields()
Project: Drupal core » Views (for Drupal 7)
Version: 8.x-dev » 8.x-3.x-dev
Component: views.module » Code
Status: Reviewed & tested by the community » Active
Issue tags: +Needs change record

Committed and pushed to 8.x. Thanks!

Moving to Views for the change notice.

xjm’s picture

Title: Change notice: Rename Views method compile_fields() to compileFields() » Rename Views method compile_fields() to compileFields()
Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.x-dev
Component: Code » views.module
Assigned: nathangervais » Unassigned
Status: Active » Fixed
Issue tags: -Needs change record

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