Difference between revisions of "Filter"

From Gramps
Jump to: navigation, search
(How to define custom filters)
(Test a custom filter)
Line 17: Line 17:
  
 
== Test a custom filter==
 
== Test a custom filter==
In the <code>Edit menu</code>, click on <code>Column Editor</code>, and select the columns you want to view. Next, activate the [[Filter Sidebar]]. This can be done by going to the <code>View menu</code>, and clicking on <code>Filter Sidebar</code>.  
+
In the {{man label|Edit}} menu, click on {{man label|Column Editor}}, and select the columns you want to view. Next, activate {{man label|Filter}}. This can be done by going to the {{man label|View}}  menu, and clicking on {{man label|Filter}}.
  
 
== Examples ==
 
== Examples ==

Revision as of 08:22, 7 February 2008

What are filters?

Filters

Filtering genealogical information is crucial for research, as well as for creating nice reports. Most reports of GRAMPS allow the use of filters, only displaying information about people that correspond to the filter.

On the other hand, filtered data can be all the info you need, like a self constructed mini-report.

How to define custom filters

In the Edit menu, click the option <view> Filter Editor , where <view> depends on the present view. It can be Person, Family, Event, Place, Media , Repository or Note.

You can give the custom filter a name, and then add rules to the filter. The data will be filtered according to the rules.

In some filters you can use regular expressions. For learning how to use these, see the Regular Expression HOWTO.

Test a custom filter

In the Edit menu, click on Column Editor, and select the columns you want to view. Next, activate Filter. This can be done by going to the View menu, and clicking on Filter.

Examples

See Example filters. To the right of the list view, a sidebar will open, allowing to filter your data. At the bottom of this, you can select the newly created Custom Filter. Click on Find, and all Persons/ Families/Events/Places/Media/Repositories matching the filter are displayed. At present, there is no way to print this data (Should be available in the upcoming version 2.4).

Suggestions for filter rules

What you can do with a filter depends on the rules available to you in GRAMPS. If you have a suggestion for a new usefull filter rule, do a feature request.