7913 Posts in 1355 Topics by 930 members
|Go to End|
24 March 2011 at 2:27am
Does anyone know if there's quick hack to show only related objects with HMDOM?
I've got a scenario where I have hundreds of recipe entries which can be linked through ModelAdmin as "featured" on the homepage, so homepage has has_many relationship with recipes, and recipes has_one homempage.
However, to streamline the updating of the site, the administrator would like to be able to unlink straight from the homepage without going through ModelAdmin.
Using an HMDOM allows them to do this - but lists ALL the recipes in the database which they don't need, and I'd like to only display the ones which are related to the homepage.
|Go to Top|