Forums / General / Object Relations / Comment32113
Roberto Kirschbaum
Thursday 25 August 2005 7:53:22 am
Xavier (and all)
The fetch reverse_related_objects (+attribute parameter) <i>is working!</i> I actually made a mistake using it. It seems though that this fetch function doesn't have a "sort_order" parameter, so I am working to make the books appear in alphabetical order. I'm almost there, but if anyone knows of a good solution for this, (ie, a simple way to sort the output of fetch reverse_related_objects) please let me know.
As to "1) the patch was supposed to let you get your reverse_related_contentobject_array properly filed" I still don't see the effects of applying the patch as when I look a either books or authors in the admin interface, I get //Relations [0] //Related objects [0] //The item being viewed does not make use of any other objects. //Reverse related objects [0] //The item being viewed is not in use by any other objects.
But then, this doesn't matter too much, as the problem itself is solved (showing the books by an author). I thank you guys so much for your time and patience and I learned a lot with you.