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

CommentFileSizeAuthor
#5 1207936-bad-join.patch1.02 KBagentrickard
allcalview.txt32.67 KBartatac

Comments

agentrickard’s picture

Project: Domain » Domain Views
Version: 7.x-3.x-dev » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

7.x.3 is neither stable nor supported. Domain Views is a separate module.

Please define "correctly" more clearly. What are you trying to display?

artatac’s picture

Sorry. 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

agentrickard’s picture

Are you actually running DA 7.x.3?

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Active

Confirmed bug. It's a bad JOIN condition for the {domain} table.

Domain ID for {domain_access} works fine.

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

Here's a patch against Domain Views. Should work.

artatac’s picture

thanks
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

Last login: Sat Jul  2 11:20:53 on console
unknown-00-1f-f3-ba-99-15:~ christinenewman$ /Users/christinenewman/Sites/acquia-drupal/sites/all/modules/domain_views patch < 1207936-bad-join.patch
-bash: 1207936-bad-join.patch: No such file or directory

agentrickard’s picture

Odd. Try patch -p1 < 1207936-bad-join.patch

Or apply manually. It's a very small patch.

agentrickard’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.