The Gramps Wiki database is currently being backed up. Please check back in a couple of hours.

Changes

Jump to: navigation, search

Example filters

1,705 bytes added, 18:54, 13 June 2020
m
clarify steps to differentiate between similar buttons in different dialogs
==Introduction==
For more info, see [[Filter]] and also [[Gramps_4.2_Wiki_Manual_Gramps_{{man version}}_Wiki_Manual_-_Filters|the wiki manual on Filters]].When creating custom filters, always make sure you have the [[Gramps_{{man version}}_Wiki_Manual_-_Gramplets#Filter|Filter Gramplet]] in the [[Gramps_{{man version}}_Wiki_Manual_-_Main_Window#Bottombar_and_Sidebar|sidebar ]] visible so you can test them before use: either click on . This allows testing the Filter tab filter on real data before putting the right, or click on filter in general use. Test each filter individually... don'Add t set up a Gramplet' and select 'Filter'2nd stage filter until the 1st stage has been tested. To test: in the Filter tab of the sidebar, select the custom filter you made; then click the {{man button|Find}} button.
You create a custom filter by taking the following steps:
<!--
* {{man button| {{icon|stock_add}}}}&nbsp;{{man tooltip|Add a new filter}}
:shows the {{man label|Define filter}} dialog and adds a new (as yet unnamed) custom filter framework.
* {{man button| {{icon|stock_edit}}}}&nbsp;{{man tooltip|Edit the selected filter}}
:opens the {{man label|Define filter}} dialog and loads your existing custom filter for editing.
* {{man button|Clone}}&nbsp;{{man tooltip|Clone the selected filter}}
:makes an exact copy of the selected filter
* {{man button|Test}}&nbsp;{{man tooltip|Test the selected filter}}
:brings up the {{man label|Filter Test}} results dialog containing a list of matches following a successful test. If the filter test is invalid, an error may be shown instead.
* {{man button| {{icon|stock_remove}}}}&nbsp;{{man tooltip|Delete the selected filter}}:
:removes the selected filter from the Gramps collection of custom filters.
{{-}}
-->
* Click on {{man menu|Edit}} in the menu bar to display the drop-down list
: The last item is the {{man menu|____ Filter Editor}} and it is contextual, changing the filter editor to only show filters for the category of the current View
* Click on the {{man menu|Filter Editor}}
* Click on {{man label|Filter Editor}} {{man button| {{icon|stock_add}}}}&nbsp;{{man tooltip|Add a new filter}} to start creating a new filter
* Give your filter a unique '''name'''
* Click on {{man label|Rule List}} {{man button| {{icon|stock_add}}}}&nbsp;{{man tooltip|Add another rule to the filter}} to see the filter rules (limited to those available in the current View)
* Select an appropriate filtering '''rule'''
Click on '''Editor''' in the top bar to display the drop-down list The last item is the '''Filter Editor''' for your current View Click on the '''Filter Editor''' Click on ''''+'''' to start creating a new filter Give your filter a '''name''' Click on ''''+'''' to see the filter * Add further rules available to you in your current View Select an appropriate '''rule'''as needed
Add further rules as needed  * Set the appropriate {{man label|Options}} to define how the rules interact (only necessary '''Option'''when there are multiple rules) '''* Click on the {{man label|Define Filter}} {{man button| OK'''}} '''* Click on the {{man label|Filter Editor}} {{man button| Close''' }} ''[Note that custom filters or changes only take effect after Closing the Filters window]''
There are rules to allow you to use filters defined for another View. In this way you can build up complex filtering involving several Views.
{{man notewarn|NoteCustom Filters are resource hungry|That very Very large databases may encounter resource limitations when handling some complex filters}}
2,786
edits

Navigation menu