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

Add ability to set Catalog Number formatter for collections. #2355

Open
benanhalt opened this issue Oct 25, 2022 · 5 comments
Open

Add ability to set Catalog Number formatter for collections. #2355

benanhalt opened this issue Oct 25, 2022 · 5 comments
Labels
1 - Request Improvements or extensions to existing behavior 2 - Schema Config Issues that are related to the Schema Config tool

Comments

@benanhalt
Copy link
Contributor

The Catalog Number formatter is available in the schema config, but that configuration is actually not used. Instead it has to be set in the CatalogNumFormat field of the collection table. Currently there is no way of changing it in Specify 6 or 7 short of an SQL update statement.

@benanhalt benanhalt added the 1 - Request Improvements or extensions to existing behavior label Oct 25, 2022
@maxpatiiuk
Copy link
Member

Can't we just add it to the default Collection form as a pick list?

The security panel already has a link to the Collection record for the current collection

@maxpatiiuk maxpatiiuk added this to Unsorted in Administration via automation Oct 25, 2022
@benanhalt
Copy link
Contributor Author

Yes. The picklist would need to be automatically populated with the formatters from the UIFormatters appresource that are defined for the catalog number field.

@maxpatiiuk
Copy link
Member

When implementing this, take at how other custom pick lists have been implemented (like the one for selecting tree ranks on a tree table, or the ones for selecting table/field/resource formatter on a pick list form)

@grantfitzsimmons grantfitzsimmons added the 2 - Forms Issues that are related to the form system label Jul 2, 2023
@grantfitzsimmons
Copy link
Contributor

I would recommend implementing this so when you select a field formatter in the schema config it automatically updates the collection table with the correct field formatter name.

@grantfitzsimmons grantfitzsimmons added 2 - Schema Config Issues that are related to the Schema Config tool and removed 2 - Forms Issues that are related to the form system labels Aug 6, 2023
@specifysoftware
Copy link

This issue has been mentioned on Specify Community Forum. There might be relevant details there:

https://discourse.specifysoftware.org/t/to-change-a-catalog-number-format-other-than-default/283/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Request Improvements or extensions to existing behavior 2 - Schema Config Issues that are related to the Schema Config tool
Projects
Administration
  
Unsorted
Status: 📋 Backlog
Development

No branches or pull requests

4 participants