When I try to specify a sort criteria for a draggable weight and the geofield proximity filter is in use in another view on the site, I receive an ajax error from line 67 of the views/handler/geofield_handler_filter.inc file of the geofield module. The third line of the code below. These other views do not use draggable sorts.

function query() {
    $proximityPlugin = geofield_proximity_load_plugin($this->options['source']);
    $options = $proximityPlugin->getSourceValue($this);

This is the point in the process where I am specifying the "Display Sort As" field on the view which is being sorted.

I suspect that when dragabble views is looking for possible sort views as choices in this dropdown it is somehow causing the geofield proximity filters to be instantiated and this is not working.

If I disable the other views that use geofields I can specify the "Display Sort As" field and sort the items using the view. So there is a workaround at this point.

I'm not sure if this is an issue for draggableviews or geofield.

Comments

istryker’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

What is the error message?
What type of hanndler are you using (ie native, FieldAPI)
Are you using 7.x-2.0 or the latest dev?
How can we reproduce? Can you attach a simple view(s)?
Which modules do you have install? views, draggableviews and geofield?
You said it threw an ajax error. Can you get it working without ajax?

istryker’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing no reply in over 2 weeks