public function GeofieldProximityField::clickSort in Geofield 8
Adds an ORDER BY clause to the query for click sort columns.
Parameters
string $order: Either ASC or DESC
Overrides FieldPluginBase::clickSort
File
- src/
Plugin/ views/ field/ GeofieldProximityField.php, line 159
Class
- GeofieldProximityField
- Field handler to render a Geofield proximity in Views.
Namespace
Drupal\geofield\Plugin\views\fieldCode
public function clickSort($order) {
$this
->addQueryOrderBy($order);
}