I've got a reciprocal many-to-many connection between news stories and programmes and I'm using get_related to show related news stories on the programme pages but also on the news pages (i.e. other news related to the same programmes).
It works great except that news stories which are connected to two programmes are returned twice in the query. I presumably that's because it sees them as being related in two different ways - once via each programme.
e.g. for these connections:
Story 1 - Programme A
Story 1 - Programme B
Story 2 - Programme A
Story 2 - Programme B
get_related() on story 2 returns story 1 twice and on story 1 returns story 2 twice.
Any ideas how I can resolve this?