# Private events filter

**URL:** <https://gramps.discourse.group/t/private-events-filter/1247>\
**Category:** Help\
**Created:** [February 23, 2021, 5:19pm UTC](https://gramps.discourse.group/t/private-events-filter/1247 "2021-02-23T17:19:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jang](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jang](https://gramps.discourse.group/u/Jang)\
**Post date:** [February 23, 2021, 5:19pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/1 "2021-02-23T17:19:21Z")

</div>

Hello,

Can it be that this filter is faulty?

In the menu I select Events

![ereignis-1](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/a90e92d50cff07555e3f21324c20dc9027df0598.png)

Create the filter to view the events that are set to Private…

 ![ereignisse-2](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/8710e80ac04cec95b7c18df2b2854705b2e081b8.png)  
 ![ereignisse-3](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/8bacbf8bfd7a4be8db2066ed998eba46ed304d9a.png)

But the search result is empty ?

Greetings - Jan

(Gramps 5.1.3 Linux)

---

<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:** [February 23, 2021, 6:45pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/2 "2021-02-23T18:45:06Z")

</div>

Mine seems to be working correctly. But there may be some confusion regarding which lock is being searched.

When adding/editing an event for a person or family,two locks are shown. One lock is in the shared portion of the event reference editor. Red in attached screenshot. This is the lock when in events, the filter rule “Events marked Private” will find. In a person’s event list, this lock does not display in the list of events.

The second lock (green in screenshot) is the lock displayed in a person’s list of events. It is actually a part of the People database and not searchable through the event list.

 ![EventReferenceEditor-dialog-default-50](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/ceca5c187f9e7ff616a8895524b61823c9ad0947.png)

I know, a little confusing. There was an earlier thread that discussed the two locks in displays.

> [@Private event in person editor](https://gramps.discourse.group/t/private-event-in-person-editor/971):
>
> Is there something to do to display the lock next to private events in the person 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:** [February 23, 2021, 6:47pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/3 "2021-02-23T18:47:54Z")

</div>

> [@Jang](#):
>
> But the search result is empty ?

You might try a simple test. Temporarily mark an event record Private then run your filter to see if it is returned in the filter.

---

<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:** [February 23, 2021, 7:00pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/4 "2021-02-23T19:00:16Z")

</div>

Tested with the [example.gramps](https://gramps-project.org/wiki/index.php/Example.gramps) sample tree. It also showed no Private Events.

But that was correct. There were some Private Notes but no Events (or People) set to ‘Private’

As a test, I set a Person and an Event (of a different Person) to Private. Now clicking the ‘Find’ button in the filter Gramplet gave the correct results. The filter found the Private Event… but _ **not** _ the Events of the Private Person. (Events of a Private Person are not explicitly Private.)

Here is a different way of checking for Private Events:

[Configure the Event view](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Categories#.E2.9A.99_Configuration_Options) to show a Private column:

Select the Events View from the Navigator  
Select the ‘Configure’ button from the toolbar  
Enable the Private checkbox  
Drag the Private Column Name to the 2nd from the top of the list (which will make it the 2nd column)  
Click the Apply button  
Click the Close button  
Reset any filters  
Click Find to show the unfiltered list.

Now, you can click the Private column title to sort on that criteria.

All the blanks will be at the top of the list. So scroll to the bottom; or, click the column title again to reverse the sort order

If there are no padlocks in the Private column for any row, there are no Events explicitly set to ‘Private’.

---

<div class="post-metadata">

**Author:** ![Jang](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jang](https://gramps.discourse.group/u/Jang)\
**Post date:** [February 24, 2021, 3:07pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/5 "2021-02-24T15:07:41Z")

</div>

Hello,

You are right @DaveSch! That would have been worth a try. However, I assumed to have safely marked some events as private … which was not the case 😉

And so the events which are marked as private are also listed!

However, I have some entries for people who are e.g. godfather or witness in the upper area of the input window marked as private … and I wanted to have them listed. Which I can do but for example also about a filter to the role.

@emyoulation Thank you! That was new for me!

Thank you for the useful tips!

Greetings - Jan

---

<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:** [March 26, 2021, 3:08pm UTC](https://gramps.discourse.group/t/private-events-filter/1247/6 "2021-03-26T15:08:36Z")

</div>

Closed on March 26, 2021, 3:08pm UTC

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