Support from Acquia helps fund testing for Drupal Acquia logo

Comments

trevjs’s picture

Assigned: Unassigned » trevjs
trevjs’s picture

Assigned: trevjs » Unassigned
Status: Active » Needs review
FileSize
2.46 KB
munizjor’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.phpundefined
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Date.phpundefined
@@ -178,7 +178,7 @@ function op_between($field) {

@@ -178,7 +178,7 @@ function op_between($field) {
+  function addSimpleQuery($field) {

functions needs to be public.

Status: Needs review » Needs work

The last submitted patch, rename_op_simple.patch, failed testing.

JeroenT’s picture

Status: Needs work » Needs review
FileSize
4.23 KB

Rename op_simple() to addSimpleQuery().

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Done

alexpott’s picture

Status: Reviewed & tested by the community » Needs work

In #2003582: Rename Views method op_equal() to opEqual() it was decided to not rename a function from op_whatever to addWhatever. So to be consistent this patch should just change the name to opSimple (we should also drop the Query as it is not a Query - it appears to add a comparison operator)

nathangervais’s picture

Status: Needs work » Needs review
FileSize
4.15 KB

Rerolled patch to rename op_simple to opSimple

heddn’s picture

Title: Rename Views method op_simple() to addSimpleQuery() » Rename Views method op_simple() to opSimple()

Fixing title

aspilicious’s picture

Status: Needs review » Needs work

Talkes with dawehner about this, should be protected. Srry!

JeroenT’s picture

Status: Needs work » Needs review
FileSize
4.17 KB

Changed access modifier to protected as mentioned by aspilicious.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

No calls are left and code looks fine.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 35a7926 and pushed to 8.x. Thanks!

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