Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export type MappingLineData = Pick<
readonly defaultValue: string;
};

const queryBuilderTreeFields = new Set(['fullName', 'author']);
const queryBuilderTreeFields = new Set(['fullName', 'author', 'groupNumber']);

/**
* Get data required to build a mapping line from a source mapping path
Expand Down
2 changes: 1 addition & 1 deletion specifyweb/stored_queries/queryfieldspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
DATE_PART_RE = re.compile(r'(.*)((NumericDay)|(NumericMonth)|(NumericYear))$')

# Pull out author or groupnumber field from taxon query fields.
TAXON_FIELD_RE = re.compile(r'(.*) ((Author)|(GroupNumber))$')
TAXON_FIELD_RE = re.compile(r'(.*) ((Author)|(groupNumber))$')
Comment thread
grantfitzsimmons marked this conversation as resolved.

# Look to see if we are dealing with a tree node ID.
TREE_ID_FIELD_RE = re.compile(r'(.*) (ID)$')
Expand Down