16,602
edits
Changes
Filter
,→Test a custom filter
{{languages}}
What are filters?
[[Category:Documentation]]
[[Category:How do I...]]
==Filters==
==How to define custom filters==
Custom filters are relative to the active View. If you are in People View you will create a Person Filter, Event View/an Event Filter, etc. In the {{man label|Edit}} menu, click the option {{man label|<viewView> 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 theseregular expressions, see the [http://wwwdocs.amkpython.ca/pythonorg/howto/regex/regex.html Regular Expression HOWTO].
== Test a custom filter==
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 activating {{man label|FilterSidebar}}.
== Examples ==
See [[Example filters]].
*Open Document Spreadsheet
Another '''3.0''' method would be that you select the {{man label|Export}} option on the {{man label|Family Trees}} menu. An '''Export Assistant''' view will be presented where you also can select the {{man buttonlabel|Comma Separated Values Spreadsheet (CSV)}}. Next, click on the {{man button|Forward}} button and in the next screen you can select in the {{man label|Options}} view which filter you want to use and whether you want to include Indivuduals, Marriages and Children. Click once again on the {{man button|Forward}} button and you can save the file.
== 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 [[How to report bugs|feature request]].