By implementing Views support we could gain some cool lists of child and parent domains.
This patch adds a field, an argument, a filter and sorting for parent ids and it adds an argument that works similar to the Taxonomy Depth argument and matches all domains with the specified domain id as well as all it's parents and children in a definable way - it also supports a comma separated list to make it easy to create custom lists.
I also have a follow up patch with a default argument that gives a comma separated list of the currents domains id as well as all of the ids above it in the hierarchy - but that is depending on another heavier patch which I've yet to extract from my improvements on this module.
---
This patch is the result of around two days of work to upgrade and improve the Domain Relationships module to get some new features which we at Good Old needed for a customers site. This is one of many patches for improvements that I'm separating out of my staging git-repo: http://github.com/voxpelli/drupal-domain-relationships
| Comment | File | Size | Author |
|---|---|---|---|
| domain_relationships_views.patch | 6.74 KB | voxpelli |
Comments
Comment #1
nonsieDuplicate of #590368: Remove SLOC field, use cached tree hierarchy array and other improvements