View Issue Details

IDProjectCategoryView StatusLast Update
0011567Feature RequestsSearch/Filteringpublic2022-09-17 02:10
ReporterBAMaustin Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
PlatformHP Pavillion g7 notebook PCOSWindows 10 HomeOS Version64-bit
Summary0011567: filter rules for <attribute> would be more useful with ability to search for empty values & all values
DescriptionIt would be a useful data maintenance feature to be able to easily Search for attributes that have no value set. (They should be deleted or populated with a value.)

Likewise, simple searching for Person that has a particular attribute with ANY value has inspection uses.

RegEx is difficult for the average user. Could 2 alternatives to entering the Value & selecting the RegEx option?
Steps To ReproduceOpen the example.gramps Tree
Try to find any Person with a SSN attribute
Find any Person with a SSN attribute but has a null value
Additional InformationAdded the RegEx patterns to the wiki:
https://www.gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Filters#regex_null

To find all values, (.|\s)* will match: any character or any whitespace character; and zero or more repetitions of those.

To find empty (blank or null) strings, ^.{0}$ looks from the start of the match ^ for any character (except newline) . occurring precisely zero times {0} before the end of the match $
Tagsfilters, plugin, rule

Activities

BAMaustin

BAMaustin

2022-09-17 02:10

developer   ~0064228

This should be achievable with the SuperTool created custom rules

Issue History

Date Modified Username Field Change
2020-02-08 07:17 BAMaustin New Issue
2020-02-10 02:33 Sam888 Tag Attached: filters
2020-02-10 02:33 Sam888 Project Gramps => Feature Requests
2020-02-11 01:46 Sam888 Status new => acknowledged
2022-09-17 01:41 BAMaustin Tag Attached: plugin
2022-09-17 01:41 BAMaustin Tag Attached: rule
2022-09-17 01:42 BAMaustin Category 3rd Party Addons => Search/Filtering
2022-09-17 02:10 BAMaustin Note Added: 0064228