-
Notifications
You must be signed in to change notification settings - Fork 42
feat(formatters): Add zero-to-one support #7552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
emenslin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Create or edit the Record Formatters app resource for the current collection
- Add a Locality table format
- Add fields from
localityDetailsandgeoCoordDetailsto the format directly - Verify that you can select all fields and relationships via these relationships
- Set this format as the default
- Edit the Locality record to include values in those fields
- Use the Query Builder and add
Locality (formatted)to the query with the added fields from before - Verify that the values are returned correctly and display in the query results and in exported CSV files
Looks good, no longer getting an errror and results appear correctly.

bhumikaguptaa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to compare this behavior against main
- Create or edit the Record Formatters app resource for the current collection
- Add a Locality table format
- Add fields from
localityDetailsandgeoCoordDetailsto the format directly - Verify that you can select all fields and relationships via these relationships
- Set this format as the default
- Edit the Locality record to include values in those fields
- Use the Query Builder and add
Locality (formatted)to the query with the added fields from before - Verify that the values are returned correctly and display in the query results and in exported CSV files
I was able to compare the behavior between main and the issue branch, it works as expected in issue branch.
Fixes #2078
Matches the behavior present in Specify 6. This prevents the crash that used to take place when adding fields via the
geoCoordDetailsandlocalityDetailsrelationship fields in Locality.Note that the preview in the dialog will not currently show these values, but they will be displayed in the query results.
At the moment, this is not consistent.
#7570
Checklist
self-explanatory (or properly documented)
Testing instructions
Make sure to compare this behavior against
mainlocalityDetailsandgeoCoordDetailsto the format directlyLocality (formatted)to the query with the added fields from before