Closed (fixed)
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
OL Views
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2015 at 16:28 UTC
Updated:
22 May 2015 at 07:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
basvredelingOh, this needs a review.
FYI, view.inc defines the result property as follows:
so setting it as true is not a good idea.
Comment #2
polComment #4
basvredelingSorry Pol, while I was working on an updated patch you committed it.
This just needed some more work.
The code 2 lines down also injects a boolean or string into the result array. All to hide empty blocks.
I'm not 100% sure about this solution but it seems to work (also with views_geojson based maps).
Comment #5
polIndeed, this patch is better.
Thanks !
Comment #7
basvredelingThis last patch was missing another small piece of code. $this->map was not set on the object.
Final fix here. This patch is made against latest dev. It doesn't include the commit of #4.
Comment #8
basvredelingPlease review urgently, currently applied patch breaks some maps.
Comment #9
pol