Support from Acquia helps fund testing for Drupal Acquia logo

Comments

web.dev.cas’s picture

Assigned: Unassigned » web.dev.cas

Working on this as part of core code sprint.

web.dev.cas’s picture

Replaced two instances of click_sort() with clickSort().

web.dev.cas’s picture

Status: Active » Needs review

Forgot to set status to needs review.

web.dev.cas’s picture

I missed an instance of click_sort(). Attaching new complete patch.

oenie’s picture

Status: Needs review » Needs work
+++ b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.phpundefined
@@ -240,7 +240,7 @@ function click_sortable() {
+  function clickSort($order) {

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.phpundefined
@@ -165,7 +165,7 @@ function add_additional_fields($fields = NULL) {
+  function clickSort($order) {

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

web.dev.cas’s picture

Status: Needs work » Needs review
FileSize
1.85 KB

Added public access modifier to clickSort functions. Thanks, oenie!

web.dev.cas’s picture

The status of the last patch was stuck in "Test request sent" comment display, but on inspecting details, I saw that it in fact failed system test. Resubmitting new version of patch based upon latest repo pull.

Status: Needs review » Needs work
Issue tags: -Novice, -VDC

The last submitted patch, rename-views-method-click-sort-2002424-7.patch, failed testing.

web.dev.cas’s picture

Status: Needs work » Needs review
Issue tags: +Novice, +VDC
web.dev.cas’s picture

The re-test of patch #7 passed. This issue needs community review.

heddn’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 51d364e and pushed to 8.x. Thanks!

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