Some fields hidden that are not marked private in resource template. Inconsistent behavior

Hi all,

We have a collection that has a custom ontology field, aep:posterfilename1. It has been renamed in the resource template to Identifier.

Every item in this collection has this field populated. Despite that, it’s only appearing on some items to anonymous users. Logged in users can see the field fine, and it’s not marked private on the item, the template, or via the hide properties module.

Here’s an example of an item with identifier showing to anonymous users

https://urexhibits.lib.rochester.edu/s/aids-education-posters/item/432568#?c=0&m=0&s=0&cv=0&xywh=-6641%2C-2%2C20128%2C9617

Here’s an example where it’s not visible:

https://urexhibits.lib.rochester.edu/s/aids-education-posters/item/433614#?c=0&m=0&s=0&cv=0&xywh=-6783%2C0%2C20429%2C9760

Anyone have ideas? I’m out of them…

You have CSS added with the CSS editor that hides the last 4 properties:

.property:nth-last-child(1),
.property:nth-last-child(2),
.property:nth-last-child(3),
.property:nth-last-child(4)   {
display: none;
}

On the “not visible” page, this Identifier is the 4th to last property so it’s being hidden, while on the “visible” one it’s the 5th to last so it shows. This kind of order-based hiding is always going to be a little brittle, so trying something like Hide Properties to hide the ones you really want to hide might be preferable.

Thanks, Apologies for missing this. This must have been something our frontend dev did a while back that didn’t get documented. I’ll update things to be hidden correctly