I can only get Domains: Site name to work correctly whereas what I really want is the domain id. I have tried
Domain Access: Domain ID (Domain ID)
Domain Access: Node ID (Node ID)
Domains: Domain ID (Domain ID)
but with no luck
The view is attached
Thanks
Joe
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1207936-bad-join.patch | 1.02 KB | agentrickard |
| allcalview.txt | 32.67 KB | artatac |
Comments
Comment #1
agentrickard7.x.3 is neither stable nor supported. Domain Views is a separate module.
Please define "correctly" more clearly. What are you trying to display?
Comment #2
artatac commentedSorry. Dommain name shows the domain name eg "All Saints" but the domain id returns nothing at all. I have 2 domains and would presume that if it can return "all saints" and "st andrews" domain id should return 01 and 02
Comment #3
agentrickardAre you actually running DA 7.x.3?
Comment #4
agentrickardConfirmed bug. It's a bad JOIN condition for the {domain} table.
Domain ID for {domain_access} works fine.
Comment #5
agentrickardHere's a patch against Domain Views. Should work.
Comment #6
artatac commentedthanks
I feel I am making a rookie error - I dowwnloaded the patch > put it in the same directory as the module and the ran the command in mac terminal and got the following error. I have patched before but not for ages
Comment #7
agentrickardOdd. Try
patch -p1 < 1207936-bad-join.patchOr apply manually. It's a very small patch.
Comment #8
agentrickardCommitted.