Skip to content
Snippets Groups Projects

Convert patch to merge request

Open Kalle Vuorjoki requested to merge issue/drupal-3322402:3322402-add-boolean-filters into 11.x
3 unresolved threads

Closes #3322402

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
112 136 $this->assertIdenticalResultset($view, $expected_result, $this->columnMap);
113 137 }
114 138
139 /**
140 * Tests the BooleanOperator empty/not empty filters.
141 */
142 public function testEmptyFilterBooleanOperator() {
  • 349 $operator = "IS NOT NULL";
    350 }
    351
    352 $this->query->addWhere($this->options['group'], $field, NULL, $operator);
    353 }
    354
    355 /**
    356 * Returns operators for values.
    357 *
    358 * @param int $values
    359 * The values filter value.
    360 *
    361 * @return string[]
    362 * A filtered list of operators.
    363 */
    364 protected function operatorValues($values = 1) {
  • 286 335 }
    287 336 }
    288 337
    338 /**
    339 * Filters by operator empty.
    340 *
    341 * @param string $field
    342 * The views field.
    343 */
    344 protected function opEmpty($field) {
  • added 1 commit

    • eb5ff472 - Apply 3 suggestion(s) to 2 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading