# Sorting Events by Event Type - Custom

**URL:** <https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381>\
**Category:** Help\
**Created:** [April 14, 2021, 8:28am UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381 "2021-04-14T08:28:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [April 14, 2021, 8:28am UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/1 "2021-04-14T08:28:35Z")

</div>

GrampsAIO64-5.1.3-2 - Windows 10

I thought I was able to filter Events by the Event Type even if they were customized events. I renamed an event type and now cannot seem to be able to do this. When on the Events Page and I use the Type drop down box it lists the default types but no “Custom” option. I can enter the “type” manually (Case sensitive) and it will sort but cannot select via drop down box. If I am on the “People” or “Families” pages I can sort by Event Type using the drop down option. Is this correct or do I have an issue and if so how can I fix. I have closed and restarted Gramps after making the Event Type name change.  
Many thanks.

---

<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:** [April 14, 2021, 12:02pm UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/2 "2021-04-14T12:02:05Z")

</div>

I have noticed this behavior. And then the next time I go to filter on Type the Custom list is visible to select these options. As you note, I have always been able to start typing in the Type.field to make a selection (my preferred method).

A handy addon is the [Type Cleanup tool](https://gramps-project.org/wiki/index.php/Types_Cleanup_Tool). It will scan all areas of the database and present you with a list of any and all custom entries. You can rename Types or delete unused Types so they will no longer show in the drop-down lists. Simply running the tool _may_ reset all the drop-down options.

Another way to _reset_ things like this is to create a new database tree and import the last backup .gramps (xml) file. I do this every few months.

---

<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:** [April 14, 2021, 4:02pm UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/3 "2021-04-14T16:02:28Z")

</div>

One longstanding issue is that the sidebar filters don’t update immediately when new custom types are created. The types in the sidebar only update when Gramps first opens the filter, on startup, or when the filter is added. You could remove and then add in the sidebar filter again if you don’t want to close the Gramps session, otherwise just performing a restart will show the custom entries.

I worked out a way to fix this as part of the GEPS45 place enhancements work, but I don’t know if I will ever get around to doing this for other grampstype entries. Depends on if place enhancements is ever accepted.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [April 14, 2021, 11:14pm UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/5 "2021-04-14T23:14:35Z")

</div>

DaveSch, Tried to download this addon and got a 404 message ☹

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [April 14, 2021, 11:16pm UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/6 "2021-04-14T23:16:26Z")

</div>

prculley  
Thanks! tried this and it worked a treat! 🙂 😃

---

<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:** [April 15, 2021, 12:18am UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/7 "2021-04-15T00:18:37Z")

</div>

The easiest way to install an addon is to go to menu \>\> Edit \>\> Preferences. On the General tab [Third party addons management](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Settings#Third_party_addons_management)

If you have already run the process without installing the addon, you will need to uncheck **Do not ask about previously notified addons** then **Check for updated addons now**. Select and install the Tool Types Cleanup (and any other addon).

There are only a very few addons that would need manual installation Most often new experimental ones.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [April 15, 2021, 12:35am UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/8 "2021-04-15T00:35:49Z")

</div>

There was a typo in the Link URL. (an extra trailing Z)

It’s fixed now. Thanks for finding it.

Most people use the Plugin Manager rather than downloading & installing manually. Since that is so much easier. However, visiting the development pages for Tools is a good idea. Gramplets & Reports have buttons pointing to help files but tools don’t. So finding the documentation first is a good idea.

---

<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:** [May 15, 2021, 12:36am UTC](https://gramps.discourse.group/t/sorting-events-by-event-type-custom/1381/9 "2021-05-15T00:36:31Z")

</div>

Closed on May 15, 2021, 12:36am UTC

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