-
Notifications
You must be signed in to change notification settings - Fork 36
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
MOTs: Add frontend picklist for COType #5170
Conversation
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.
Testing instructions
- Create a workbench dataset with base table CollectionObjectType
- Map a column to
CollectionObjectType -> name
- Click save
- Verify the column you mapped is a picklist containing all CollectionObjectTypes that exist in your db
- Re-run the same test with CollectionObject as the base table and mapping a column to
CollectionObject -> CollectionObjectType -> name
Cannot actually validate the dataset if it contains collectionobjecttype
chrome_frE2kFyiiK.mp4
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.
Testing instructions
- Create a workbench dataset with base table CollectionObjectType
- Map a column to
CollectionObjectType -> name
- Click save
- Verify the column you mapped is a picklist containing all CollectionObjectTypes that exist in your db
- Re-run the same test with CollectionObject as the base table and mapping a column to
CollectionObject -> CollectionObjectType -> name
Looks good!
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.
Testing instructions
- Create a workbench dataset with base table CollectionObjectType
- Map a column to
CollectionObjectType -> name
- Click save
- Verify the column you mapped is a picklist containing all CollectionObjectTypes that exist in your db
- Re-run the same test with CollectionObject as the base table and mapping a column to
CollectionObject -> CollectionObjectType -> name
The picklist is working well on my db 👍👍
This pull request has been mentioned on Specify Community Forum. There might be relevant details there: https://discourse.specifysoftware.org/t/specify-7-9-7-release-announcement/1979/1 |
Fixes #5169
NOTES:
Yay more MOTsAdded a frontend picklist similar to the preptype picklist. All columns in the workbench mapped to CoType -> name should use this.
Checklist
and self-explanatory (or properly documented)
Testing instructions
CollectionObjectType -> name
CollectionObject -> CollectionObjectType -> name