inbo / collective-access

CollectiveAccess is free, open-source software for cataloguing and publishing museum and archival collections. We are currently evaluating and configuring the application for the INBO collections, in the context of the DiSSCo Flanders project (https://dissco-flanders.be/).
3 stars 0 forks source link

Prepopulate: objects in a hierarchy should all refer to the same observation (automatically) #78

Closed Eveltjen00 closed 5 months ago

Eveltjen00 commented 1 year ago

https://manual.collectiveaccess.org/providence/user/configuration/otherCommon/prepopulate.html?highlight=value%20from%20parent

Eveltjen00 commented 1 year ago

#

prepopulate field configuration

#

set to 1 to enable the plugin

enabled = 1

prepopulate_fields_on_save = 1 prepopulate_fields_on_edit = 1

parent_objects = { test_rule = { table = ca_objects, mode = overwriteifset, target = ca_occurrences, context = parent, restrictToRelationshipTypes = [represents], restrictToRelatedTypes = [observation] }, }

Eveltjen00 commented 5 months ago

Similar to https://github.com/inbo/collective-access/issues/122

Eveltjen00 commented 5 months ago

occurences and objects are not split anymore