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

@@ -7,4 +7,12 @@ fieldset legend.col-form-label {
fieldset.form-fieldset legend {
font-size: 1rem;
font-weight: bold;
}
/* Fixing the margin between the divider and items in context menu or dropdowns with optgroups */
.ts-dropdown .optgroup:before {
--tblr-spacer: .5rem;
}
.dropdown-divider {
--tblr-dropdown-divider-margin-y: .5rem;
}

View File

@@ -8,7 +8,7 @@ use App\Doctrine\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* @version 2.1
* @version 2.0.20
*/
final class Version20230327143628 extends AbstractMigration
{

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
"/build/app.70a820f6.js"
],
"css": [
"/build/app.f43008a1.css"
"/build/app.2005c135.css"
]
},
"export-pdf": {
@@ -64,7 +64,7 @@
"integrity": {
"/build/runtime.f0079159.js": "sha384-H22sAW1aTvyIPqvHOvGXWSWTxf0y6mptp+MsVmyXCfjx/WJjBbhX9gbUZ+qIuihV",
"/build/app.70a820f6.js": "sha384-WKz8wOwY8EYT1ncPkMRnEE3q5LnP76keOZxTD410dXpsowUktUg+vWUqDhVXwLat",
"/build/app.f43008a1.css": "sha384-pZxN+QyK3/ggIPic7tC9sHJImYoGGtVX2CRA2JqH/BK5RYd2UGOsAhb5VXzjLX0l",
"/build/app.2005c135.css": "sha384-mXP2EO6K1kvUNEFBxLHjXlgkfWSFtyLC1rFhhX5qMbpOHvZrl8Ny1zP03ToPkF6d",
"/build/export-pdf.d367a32e.js": "sha384-Z5baqnzjI636nYFs4g63ViIKBZKRW4Jhv/7PQmTEQlqhfA7eK0vUMUtiyy0R5A9u",
"/build/export-pdf.d8a6c23b.css": "sha384-ztepocHE4rnGE9eKZ4kL6jTKaePUyiwiB9TjJjstjpf/ckcKg1HedrEOOk/8ElJg",
"/build/invoice.2604495e.js": "sha384-D6JvhGSqlx7z72b/qD3nF3QDXPy+XsCSRGtWfs1icjDKOcd2UzuXwuSa/E1Fg2TJ",

View File

@@ -1,5 +1,5 @@
{
"build/app.css": "/build/app.f43008a1.css",
"build/app.css": "/build/app.2005c135.css",
"build/app.js": "/build/app.70a820f6.js",
"build/export-pdf.css": "/build/export-pdf.d8a6c23b.css",
"build/export-pdf.js": "/build/export-pdf.d367a32e.js",

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,
]);