Release 2.0.22 (#4032)

* fix version string in migration
* disable search in order and order_by
* reduce divider spacing for context menu and select with optgroup
This commit is contained in:
Kevin Papst
2023-05-20 12:08:01 +02:00
committed by GitHub
parent 9bd5965ecd
commit a58a33fc7d
8 changed files with 18 additions and 7 deletions

View File

@@ -17,11 +17,11 @@ class Constants
/**
* The current release version
*/
public const VERSION = '2.0.21';
public const VERSION = '2.0.22';
/**
* The current release: major * 10000 + minor * 100 + patch
*/
public const VERSION_ID = 20021;
public const VERSION_ID = 20022;
/**
* The software name
*/

View File

@@ -69,6 +69,7 @@ final class PermissionController extends AbstractController
}
// be careful, the order of the search keys is important!
// @CloudRequired (names should not change)
$permissionOrder = [
new PermissionSection('Export', '_export'),
new PermissionSection('Invoice', '_invoice'),

View File

@@ -322,6 +322,7 @@ trait ToolbarFormTrait
'description' => 'The order for returned items',
],
'label' => 'order',
'search' => false,
'choices' => [
'asc' => BaseQuery::ORDER_ASC,
'desc' => BaseQuery::ORDER_DESC
@@ -337,6 +338,7 @@ trait ToolbarFormTrait
$all[$label] = $name;
}
$builder->add('orderBy', ChoiceType::class, [
'search' => false,
'label' => 'orderBy',
'choices' => $all,
]);