Proximity filter: correct AND condition on valid destination coordinates

Created on 4 February 2020, over 4 years ago
Updated 16 November 2023, 8 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

πŸ‡ΊπŸ‡¦Ukraine super_romeo Kiev

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.69.0 2024