Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
johnandrea authored Oct 19, 2022
1 parent 67e9511 commit 3ca9556
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion readgedcom.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
This code is released under the MIT License: https://opensource.org/licenses/MIT
Copyright (c) 2022 John A. Andrea
v1.15.9
v1.15.10
"""

import sys
Expand Down Expand Up @@ -2345,6 +2345,14 @@ def get_families( fam_key ):
if search_subtag in ALT_SUBTAG:
search_subtag = ALT_SUBTAG[search_subtag]

# special case for some events, allow missing subtag to be "date"
if search_subtag is None and search_tag in ['birt','deat']:
# but a date type search
if 'exist' not in operation:
# and searching for yyyymmdd
if string_like_int( search_value ) and len( search_value ) == 8:
search_subtag = 'date'

if search_type == 'relation':
return relation_search()
return value_search()
Expand Down

0 comments on commit 3ca9556

Please sign in to comment.