feature request #5951
Add collector, field number and collection to specimen search label
Currently the specimen search uses the specimen titleCache as search string. In the titleCache the collector, field number and collection are included. However, it is very difficult to distinguish records as these data appear very late in the string and are sometimes even truncated in the dialog box.
So we should create a label with collector, field number and collection at the beginning and then followed by the full title cache.
This is difficult to implement as the required information is not part of the derived unit but of the field unit which is only recursively connected to the derived unit and therefore it is difficult to retrieve this data by a simple HQL statement.
Maybe we need a second cache field (e.g. identifyingCache) that holds only this information (similar to the abbreviated and standard cache fields for references and authors. #5952
Alternatively or as a first workaround we could try to parse this information from the long title cache.
Another alternative is to store the (redundant) data in the existing titleCache and parse the titleCache if only one part of the cache is required for presentation.