We're getting every field twice in the output. In some cases, we unexpectedly get the nid.
"field_occupation_origin_date" : 19587,
"field_occupation_origin_date_rendered" : "2011-10-15 00:00:00",
Let's just use the rendered output instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_geojson-only_display_rendered_fields-1578862-1.patch | 894 bytes | andrew_mallis |
Comments
Comment #1
andrew_mallis commentedpatch attached.
Comment #2
jeffschulerSetting to "needs review".
"patch (to be ported)" is used when a patch has been committed for one version and needs to be ported to another.
Comment #3
jeffschulerThanks Andrew_Mallis.
The direction here makes sense to me. I followed Views Datasource's model here, but I'm not sure when the "unrendered" field would be necessary. Let's simplify this until/unless the need arises.
Still needs review.
Tagging for the Barcelona sprint.
Comment #4
jeffschulerCommitted (plus followup.)
Thanks @Andrew_Mallis!