7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » filter on ManyManyDataObjectManager
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 884 Views |
-
filter on ManyManyDataObjectManager

30 November 2009 at 5:48am
Hello everybody,
I'm using the ManyManyDataObjectManager for associating Pages to a DataObject called Group. As my website currently has 1400 pages it is nearly impossible to see the pages that are already linked to a group.
Is there some way to create a filter for that use case?Greetings!
-
Re: filter on ManyManyDataObjectManager

30 November 2009 at 6:16am
Your goal is to show only the groups that the current page is linked to?
-
Re: filter on ManyManyDataObjectManager

30 November 2009 at 6:19am
Hello,
yeah right, just the other way round: I want to show the pages that are linked to the current group.
Thanks for your quick answer.
-
Re: filter on ManyManyDataObjectManager

30 November 2009 at 6:55am
But the DOM is showing Groups, so I'm not sure I understand. You want a separate DOM to show pages?
-
Re: filter on ManyManyDataObjectManager

30 November 2009 at 7:10am
No, everything works as expected. I have a DataObject called Group which has a m:n connection to the Page object. So I select a group and get a tab called pages that shows me a list of all existing pages. The pages that are connected to the current group have a marked checkbox. As it is now the case I have 1400 pages and I would need some kind of filter that only lists those pages that are already connected.
I hope my problem is now a little bit clearer.
| 884 Views | ||
|
Page:
1
|
Go to Top |

