# Can Citations be filtered by Reference

**URL:** <https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919>\
**Category:** Help\
**Created:** [October 22, 2021, 3:02am UTC](https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919 "2021-10-22T03:02:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynfox](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@lynfox](https://gramps.discourse.group/u/lynfox)\
**Post date:** [October 22, 2021, 3:02am UTC](https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919/1 "2021-10-22T03:02:55Z")

</div>

I have a lot if duplicate citations (downloaded from ancestry) where one citation is attached to an Event and another is attached to the Person who is the main participant.  
I want to delete all the citations that reference Individuals. The quickest way I have found so far is to scroll the citations list with the References gramplet displayed at the bottom (I filter it by Source first so it is manageable as I have over 12000 citations) and tag any that reference a Person with a DELETE tag then filter on the DELETE tag and delete that batch of citations.  
Is there a way to just filter all citations that that have a Reference Type of Person, so I don’t need to do the tagging step?

Version 5.1.2 Linux Ubuntu

---

<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:** [October 22, 2021, 6:30am UTC](https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919/2 "2021-10-22T06:30:16Z")

</div>

Do you thought to use Supertool to do the job automatically?

Tagging or deleting citations can be done with some line of code using this tool.

---

<div class="post-metadata">

**Author:** ![lynfox](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@lynfox](https://gramps.discourse.group/u/lynfox)\
**Post date:** [October 22, 2021, 11:30am UTC](https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919/3 "2021-10-22T11:30:42Z")

</div>

Thanks for the suggestion. I wasn’t aware of Supertool. I will try installing it and take a good look at it. It seems like it would be very useful.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 21, 2021, 11:30am UTC](https://gramps.discourse.group/t/can-citations-be-filtered-by-reference/1919/4 "2021-11-21T11:30:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
