# What is the role of 'Role'?

**URL:** <https://gramps.discourse.group/t/what-is-the-role-of-role/6874>\
**Category:** Help\
**Tags:** event-sharing, bug-filed\
**Created:** [January 29, 2025, 9:01am UTC](https://gramps.discourse.group/t/what-is-the-role-of-role/6874 "2025-01-29T09:01:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![csam](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/csam/32/5361_2.png) [@csam](https://gramps.discourse.group/u/csam)\
**Post date:** [January 29, 2025, 3:18pm UTC](https://gramps.discourse.group/t/what-is-the-role-of-role/6874/7 "2025-01-29T15:18:03Z")

</div>

I looked into the code of “Detailed Descendant Report”.  
It’s using a method named [`person.get_primary_event_ref_list`](https://gramps-project.org/docs/search.html?q=get_primary_event_ref_list).

However, there’s also a [`person.get_event_ref_list`](https://gramps-project.org/docs/gen/gen_lib.html?highlight=get_event_ref_list#gramps.gen.lib.person.Person.get_event_ref_list) method, so I changed one line in the report code, and now I get the expected output.

---

_[View the full topic](https://gramps.discourse.group/t/what-is-the-role-of-role/6874)._
