From 99ee875c5ed6bfc0a1a057e5695bf6a32e042ae9 Mon Sep 17 00:00:00 2001 From: Daniel Lamb Date: Wed, 5 Aug 2015 13:31:43 -0300 Subject: [PATCH] Coder fix. Multivalued pcdm_hasMember fix. --- islandora/islandora.install | 1 + islandora_basic_image/islandora_basic_image.module | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/islandora/islandora.install b/islandora/islandora.install index 6ee21f11..8502a847 100644 --- a/islandora/islandora.install +++ b/islandora/islandora.install @@ -29,6 +29,7 @@ function islandora_install() { array( 'field_name' => ISLANDORA_PCDM_HAS_MEMBER_FIELD, 'type' => 'text', + 'cardinality' => FIELD_CARDINALITY_UNLIMITED, ), ); diff --git a/islandora_basic_image/islandora_basic_image.module b/islandora_basic_image/islandora_basic_image.module index 0431461e..71013339 100644 --- a/islandora_basic_image/islandora_basic_image.module +++ b/islandora_basic_image/islandora_basic_image.module @@ -58,7 +58,7 @@ function islandora_basic_image_form_islandora_basic_image_node_form_alter(&$form '#description' => t('Select the parent collection to add this to.'), '#options' => $from_db, '#weight' => -4, - '#required' => TRUE, + '#required' => TRUE, ); // Keep title on top.