Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc8
Component:
- Domain Views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 15:26 UTC
Updated:
8 Oct 2009 at 17:24 UTC
Hey all,
Created a custom view with the filter 'Domain Access: Available on current domain' set to True. However, it shows me all results. It's a plainjane view with nothing special going on. Is this known to work, or no? I searched the issues and couldn't really find anything relevant.
Comments
Comment #1
kevinquillen commentedForgot to mention that I have disabled and hidden Send to all Affiliates in the node form.
Comment #2
croryx commentedThis filter works properly for us.
Comment #3
kevinquillen commentedIf I set 'Domain Access: Available on current domain' to False, I get the expected result from that. True just shows me all the content.
I wound up removing that and using 'Domain: Domain ID' is Current Domain, and that worked.
Comment #4
agentrickardIf you disabled and hid 'send to all affiliates' in the form, what values (if any) for 'domain_site' are in your {domain_access} and {node_access} tables?
It is possible that you have accidentally set all content to be visible on all domains, which would explain this behavior.
Comment #5
kevinquillen commentedHeres what I have in a form alter:
This appeared to work but I could be mistaken.
Comment #6
agentrickardIt should. I still wonder what is getting saved to the table. You would be safer doing this:
That will prevent it from being rendered to the browser.
Comment #7
kevinquillen commentedI don't appear to have a domain_access table, but node_access table has
nid 26
gid 4
realm: domain_site
Which is the only page on the other site I am working with currently, which showed up using the original filter.
Comment #8
agentrickardYou _don't_ have a {domain_access} table?
No wonder nothing works. Without the {domain_access} table, Domain Views won't work.
You may need to uninstall Domain Access and start over, because something is very wrong.
Comment #9
agentrickard