mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Allow multiple quantities to be entered on each log. Hide initial form and require user to add first item.
This commit is contained in:
parent
e92d6f4fec
commit
6a1f70fd73
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ function farm_quantity_field_default_field_bases() {
|
|||
// Exported field_base: 'field_farm_quantity'.
|
||||
$field_bases['field_farm_quantity'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_quantity',
|
||||
|
@ -29,7 +29,7 @@ function farm_quantity_field_default_field_bases() {
|
|||
'module' => 'field_collection',
|
||||
'settings' => array(
|
||||
'hide_blank_items' => 1,
|
||||
'hide_initial_item' => 0,
|
||||
'hide_initial_item' => 1,
|
||||
'path' => '',
|
||||
),
|
||||
'translatable' => 0,
|
||||
|
|
Loading…
Reference in a new issue