Problem/Motivation

In views_plugin_style_geojson:init() the file views_geojson.helpers.inc just gets included for the case it isn't a search api index.
This leads to a fatal error when trying to preview the view since the preview uses _views_geojson_encode_formatted().

Proposed resolution

Always include views_geojson.helpers.inc in views_plugin_style_geojson:init()

Remaining tasks

Reviews needed.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

  • Pol committed 378484d on 7.x-1.x authored by das-peter
    Issue #2538502 by das-peter: Always include helpers file for views
    
das-peter’s picture

Status: Needs review » Fixed

Thanks ;)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.