Hi Isabel,
Regarding the contact details: I've never seen that before, and I assume it is part of your custom theme that has introduced the problem. I would ask your local developer or system administrator to take a look at the custom theme template files for any issues.
You can also try recompiling the CSS on your custom theme (though I suspect you will need to fix the theme files first). We will need make and lessc installed for this, if you don't have them locally installed already:
- sudo apt install npm make
- sudo npm install -g "less@<4.0.0"
After that you can recompile the theme by using the make command with the path to your custom theme plugin. For example, to recompile the CSS for the base Dominion theme, use the following command from AtoM's root installation directory:
- make -C plugins/arDominionPlugin
You can do the same with your custom theme, changing arDominionPlugin to the name of your custom theme plugin. I'd suggest clearing the application cache, restarting PHP-FPM, and also clearing your web browser cache as well before re-testing.
Regarding the repeated ES:
I am a bit confused about this as well, since the behavior *should* be the same on both description examples you shared, since they are linked to the same repository. This means that there may be further local customizations affecting this. However:
- Country code (derived from the country code of the country entered into the contact information of the related archival institution)
- Repository identifier (derived from the identifier field on the related archival institution)
- Top-level description identifier
- Any intermediary level identifiers
- The identifier of the target description
In your repository record, you can see that the Country has been set in the contact information - AtoM then associates this with the relevant country code:
I believe that the use of the Reference code inheritance setting is why this extra ES is appearing in the description's identifier. However, I'm not sure why the behavior is different on this description, which appears to be linked to the same repository:
This may be due to some issue in your custom theme. However, I would also suggest running some of AtoM's common maintenance tasks to see what changes, such as rebuilding the nested set, generating slugs, repopulating the search index, clearing the cache, and restarting PHP-FPM. Instructions and/or links for all of these tasks can be found on the Troubleshooting documentation page:
Let us know how it goes! Good luck!