Proximity filter: correct AND condition on valid destination coordinates

Created on 4 February 2020, almost 5 years ago
Updated 16 November 2023, 12 months ago

We should add "Ensure that destination is valid"-condition exact to the same condition.
So I added new condition group and added our conditions to it.

We couldn't add another parameter to opSimple() method because of

Warning: Declaration of Drupal\rg_location\Plugin\views\filter\GeofieldContainsFilter::opSimple($options, Drupal\Core\Database\Query\Condition $condition) should be compatible with
Drupal\geofield\Plugin\views\filter\GeofieldProximityFilter::opSimple($options)

So I rename method to opSimpleMethod().

Patch will be attached.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇸Serbia super_romeo Belgrade

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024