Closed (fixed)
Project:
Hosting
Version:
7.x-3.x-dev
Component:
Views integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2012 at 22:28 UTC
Updated:
12 Jun 2014 at 08:59 UTC
Jump to comment: Most recent
Comments
Comment #1
deciphered commentedSo I started this one, but it became clear that due to the modular nature of the servers list (the ability for different types of services to be added via hook_hosting_service_type()) and the current display choice it probably wouldn't be best served as a View.
I will expose the fields from the hosting_services table to Views, but at this stage I have no intent on going any further than that.
Comment #2
anarcat commentedthis is almost there, see #588728: Meta: Views integration redux.
Comment #3
ergonlogicComment #4
anarcat commentedComment #5
ergonlogicComment #6
cweagansAny movement on this? It's really weird to have everything be views except for one list.
Comment #7
ergonlogic@cweagans, not that I'm aware of. This is a bit complicated as described in #1, so we may need to find an alternate way to display this. Suggestions (or patches ;) are welcome though.
Comment #8
steven jones commentedI think a way forward on this would be to provide a field that renders all the services available as single list, and then replace the columns with that, and then also provide a way to filter the view easily, so if you wanted to view just the servers with service X, that would be easy.
Comment #9
cweagansPerhaps something like this would work?
Just treat the services like Taxonomy terms instead of separate columns, then maybe give a way to filter by what service a server has on it. I think that would be sufficient. What do you think?
Comment #10
cweagansHa, you posted before I did. Let's do that. I'll build it today and roll a patch.
Comment #11
cweagansTurns out that I probably won't be working on this, so if somebody else wants to run with it, feel free :)
Comment #12
ergonlogicTaking a queue from the suggestions above, we now provide a concatenated list of services. In a template_preprocess hook, we then expand these back out to separate headers and fields. The new view is identical to the original.
Fixed in af856ca (hosting) and 2a0f5b6 (hostmaster).