# How to find attributes and their value into top part of events?

**URL:** <https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662>\
**Category:** Help\
**Created:** [August 29, 2020, 2:47pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662 "2020-08-29T14:47:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [August 29, 2020, 2:47pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/1 "2020-08-29T14:47:10Z")

</div>

I can find attributes and attributes value stored into the bottom/shared part of an event using an event attribute filter but how to search for something into the top part of events associated with person’s records with person’s filters? Like form’s stored attributes

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 29, 2020, 9:43pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/2 "2020-08-29T21:43:44Z")

</div>

I just ran a test and I could not create the filter. I ran the test on both the Event and also on the People list. It occurred to me that the filter rule to filter on the Role of an event is a part of People filters. It would seem that any rule looking at the event’s Reference Information’s Notes or Attributes would need to be similar to this Role filter.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [August 29, 2020, 11:21pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/3 "2020-08-29T23:21:26Z")

</div>

> [@DaveSch](#):
>
> It occurred to me that the filter rule to filter on the Role of an event is a part of People filters. IIt would seem that any rule looking at the event’s Reference Information’s Notes or Attributes would need to be similar to this Role filter.

I agree with you but I don’t find/see filters to do that that in person’s filter editor.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 29, 2020, 11:45pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/4 "2020-08-29T23:45:27Z")

</div>

> [@PLegoux](#):
>
> but I don’t find/see filters to do that that in person’s filter editor

That’s right. The filter rule does not exist.

The rule to filter by Role exists. To filter for the Attributes or Notes would need to be a similar rule. A People not an Event filter rule.

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [August 30, 2020, 2:31pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/5 "2020-08-30T14:31:28Z")

</div>

Looks like we need to modify the person.hastextmatching\*of rules to look at attributes in the eventrefs and probably in the events themselves. That way text anywhere would show up.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [August 3, 2021, 2:34pm UTC](https://gramps.discourse.group/t/how-to-find-attributes-and-their-value-into-top-part-of-events/662/8 "2021-08-03T14:34:40Z")

</div>

As an answer to my own question I’ve created this little Supertool filter, for who need it too:  
[Supertool script code (to be saved as a regular filter) to filter Event Reference Attributes type and value](https://www.geneanet.org/forum/viewtopic.php?p=2020243#p2020243)
