Thanks @pinkfishies, you helped untangle me.
One additional question.
If I wanted to change the 'representation_tag' in the gallery sidebar:
$va_first_items_from_set = $this->getVar("first_items_from_sets"); ... $va_first_item = array_shift($va_first_items_from_set[$vn_set_id]); ... <?php print $va_first_item["representation_tag"];?>
to something other than
icon to say
medium where would I do that?
Couldn't find much on my own by working backwards from the gallery view.
preg_replace("/[^\d-.]+/", "", $vm_value)in order to strip non numerical chars is KO. Replacing it with a
preg_replace("/[^\d]+/", "", $vm_value)is ok, I could send a pull request with that, and seems a quick fix ; nevertheless the "-." may be there for a reason. So, for now, if you develop with the latest homebrew php, many things are down, you cannot add a metadata through the interface, edit a user, and so on. OK for a pull request or is it a bad idea ?
@collectiveaccess let me give you more details:
about relationships, there are relations with multiple functions, for example, entities are linked by the relation of participation in events, or relation of prize, or production, or curationship of the event, that is, it would be necessary to search for relationships to filter these datasets. At the moment I can use displays to show this data but not to search an specific relations.
about users, we have a cataloging flow that involves several users, from different groups (text, iconographic, conservation) and to create cataloging statistics that help us to measure the working time by teams, we need to carry out these types of searche we need to carry out searches like that
I hope it has become clearer. In fact, we have a complex data repository: 88910 entities; 99702 documents, 10149 document parts; 70707 artworks, organized hierarchically in 4 fonds and 3 collections with 32 groups, 62 subgroups and 42 series...and this is only part of the documentation