-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(Tinebase EvalDim) migration script added sorting
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* @package Tinebase | ||
* @subpackage Setup | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL3 | ||
* @copyright Copyright (c) 2023 Metaways Infosystems GmbH (http://www.metaways.de) | ||
* @copyright Copyright (c) 2023-2024 Metaways Infosystems GmbH (http://www.metaways.de) | ||
* @author Paul Mehrer <[email protected]> | ||
* | ||
* this is 2024.11 (ONLY!) | ||
|
@@ -116,6 +116,7 @@ public function update004() | |
]))->getFirstRecord()) { | ||
$dimension = new Tinebase_Model_EvaluationDimension([ | ||
Tinebase_Model_EvaluationDimension::FLD_NAME => Tinebase_Model_EvaluationDimension::COST_CENTER, | ||
Tinebase_Model_EvaluationDimension::FLD_SORTING => 1000, | ||
]); | ||
|
||
if ($this->_backend->tableExists('cost_centers')) { | ||
|
@@ -139,6 +140,7 @@ public function update004() | |
]))->getFirstRecord()) { | ||
$dimension = new Tinebase_Model_EvaluationDimension([ | ||
Tinebase_Model_EvaluationDimension::FLD_NAME => Tinebase_Model_EvaluationDimension::COST_BEARER, | ||
Tinebase_Model_EvaluationDimension::FLD_SORTING => 1010, | ||
]); | ||
|
||
if ($this->_backend->tableExists('cost_bearers')) { | ||
|