Closed (fixed)
Project:
Views Datasource
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Mar 2010 at 15:07 UTC
Updated:
5 Apr 2010 at 10:30 UTC
Jump to comment: Most recent file
Here's a small patch that fixes an issue that caused me many Javascript errors. It was caused by Views JSON returning an empty HTML page when the result is empty, rather than an empty JSON object.
The fix was just to add 'even empty' => TRUE into views_json_views_plugins().
I've done the same with the other views (XML etc) as that seems to make sense there too.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_datasource-747246.patch | 2.54 KB | darrenmothersele |
Comments
Comment #1
darrenmothersele commentedMy patch didn't attach the first time, trying again.
Comment #2
allisterbeharry commentedThanks for the patch, committed in views_xml and views_json.