Skip to content
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

Provide a means for default location in collection value and picklist to provided by configuration. #1

Open
chicoreus opened this issue Jan 10, 2017 · 1 comment
Assignees

Comments

@chicoreus
Copy link
Contributor

From Rod: " We need to be able to set the “Collection” field (at top of the page) to “Palaearctic Lepidoptera Collection” (English spelling). Presumably this is easy for us to do? Also there will be other collection names to be added later."

Need to provide a means to provide this default value with the ETHZ-ENT configuration, and to provide for a user editable controlled vocabulary for the location in collection picklist (from a table in the database).

chicoreus added a commit that referenced this issue Jan 10, 2017
…ure default location in collection. DESCRIPTION: Added choice of default value by configuration, removed use of single constant default value. Still need to migrate to database.
@chicoreus
Copy link
Contributor Author

Default value of Palaearctic Lepidoptera Collection used with ETHZ-ENT configuration in 53a7bc4

Will need to add a table to support local maintenance of a controlled vocabulary for the picklist.

@chicoreus chicoreus self-assigned this Jan 11, 2017
chicoreus added a commit that referenced this issue Mar 17, 2017
…e configurable. DESCRIPTION: Adding a property configuration.specificcollection, which allows a user to overide the default value for Specimen.LocationInCollection as a property (except when Family=Formicidae). If configuration.specificcollection is left blank, the default value coded from the provided configuration.collection (i.e. MCZ-ENT -> default location in collection is 'General Lepidoptera Collection' ETHZ-ENT -> default location in collection is 'Palaearctic Lepidoptera Collection'), if a value is provided, it is used on preprocessing as the value for Specimen.LocationInCollection. Also showing this value on the Action menu, and triggering a change of the menu when the property changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant