mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
resize egw_addressbook.org_unit to varchar(128)
This commit is contained in:
parent
c37fd3e380
commit
e402459241
@ -359,7 +359,7 @@
|
||||
<radio statustext="select phone number as prefered way of contact" id="tel_prefer"
|
||||
set_value="tel_work" ro_true="&hearts;" />
|
||||
<et2-description for="org_unit" value="department"></et2-description>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="8" maxlength="64"></et2-textbox>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" tabindex="8" maxlength="128"></et2-textbox>
|
||||
<et2-description></et2-description>
|
||||
</row>
|
||||
<row class="dialogHeader3">
|
||||
|
@ -343,7 +343,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<et2-description for="org_unit" value="department"></et2-description>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="64"></et2-textbox>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128"></et2-textbox>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
|
@ -30,7 +30,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<et2-description for="org_unit" value="department"></et2-description>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="64"></et2-textbox>
|
||||
<et2-textbox id="org_unit" onchange="app.addressbook.check_value(widget,'$cont[id]');" maxlength="128"></et2-textbox>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
|
@ -11,7 +11,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['api']['name'] = 'api';
|
||||
$setup_info['api']['title'] = 'EGroupware API';
|
||||
$setup_info['api']['version'] = '23.1.006';
|
||||
$setup_info['api']['version'] = '23.1.007';
|
||||
$setup_info['api']['versions']['current_header'] = '1.29';
|
||||
// maintenance release in sync with changelog in doc/rpm-build/debian.changes
|
||||
$setup_info['api']['versions']['maintenance_release'] = '23.1.20240624';
|
||||
@ -139,4 +139,4 @@ $setup_info['groupdav']['author'] = $setup_info['groupdav']['maintainer'] = arra
|
||||
);
|
||||
$setup_info['groupdav']['license'] = 'GPL';
|
||||
$setup_info['groupdav']['hooks']['preferences'] = 'EGroupware\\Api\\CalDAV\\Hooks::menus';
|
||||
$setup_info['groupdav']['hooks']['settings'] = 'EGroupware\\Api\\CalDAV\\Hooks::settings';
|
||||
$setup_info['groupdav']['hooks']['settings'] = 'EGroupware\\Api\\CalDAV\\Hooks::settings';
|
@ -210,7 +210,7 @@ $phpgw_baseline = array(
|
||||
'n_fileas' => array('type' => 'varchar','precision' => '255','comment' => 'sort as'),
|
||||
'contact_bday' => array('type' => 'varchar','precision' => '12','comment' => 'Birtday'),
|
||||
'org_name' => array('type' => 'varchar','precision' => '128','comment' => 'Organisation'),
|
||||
'org_unit' => array('type' => 'varchar','precision' => '64','comment' => 'Department'),
|
||||
'org_unit' => array('type' => 'varchar','precision' => '128','comment' => 'Department'),
|
||||
'contact_title' => array('type' => 'varchar','precision' => '64','comment' => 'jobtittle'),
|
||||
'contact_role' => array('type' => 'varchar','precision' => '64','comment' => 'role'),
|
||||
'contact_assistent' => array('type' => 'varchar','precision' => '64','comment' => 'Name of the Assistent (for phone number)'),
|
||||
|
@ -965,4 +965,15 @@ function api_upgrade23_1_005()
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['api']['currentver'] = '23.1.006';
|
||||
}
|
||||
|
||||
function api_upgrade23_1_006()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','org_unit',array(
|
||||
'type' => 'varchar',
|
||||
'precision' => '128',
|
||||
'comment' => 'Department'
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['api']['currentver'] = '23.1.007';
|
||||
}
|
Loading…
Reference in New Issue
Block a user