Closed (fixed)
Project:
Services Views
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2012 at 15:18 UTC
Updated:
16 Jan 2013 at 15:50 UTC
hello,
I've create a module to store my views in code (http://www.mc-kenna.com/drupal/2009/05/managing-drupal-views-the-proper-way).
When my view is in database, it's in the Ressource list, when my view is in code, it does not appear in the list.
Comments
Comment #1
ben.kyriakou commentedI can confirm this issue. It's occurring because the views are being retrieved directly from the database rather than via the views API. I've fixed this with some ugly (but functional) code replacement. In services_views.module, replace line 93;
With;
I'm not particularly familiar with the views API so there's probably a better method of doing this, but it's working well enough for my purposes.
Edit: Having a poke around, I see this is also fixed (in a much nicer way) in dev
Comment #2
ygerasimov commentedClosing this issue as it has been fixed already.