Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
eeb27b78
Commit
eeb27b78
authored
Nov 23, 2019
by
Carsten Rose
Browse files
Fixed #7639. Fixes bug that orderInterval has not been respected.
parent
fca1b949
Pipeline
#2752
passed with stages
in 3 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/AbstractBuildForm.php
View file @
eeb27b78
...
...
@@ -2810,7 +2810,12 @@ abstract class AbstractBuildForm {
// Handle DragAndDrop
$dndAttributes
=
''
;
if
(
$hasDragAndDrop
)
{
$orderInterval
=
10
;
$orderInterval
=
$formElement
[
FE_ORDER_INTERVAL
]
??
FE_ORDER_INTERVAL_DEFAULT
;
if
(
$orderInterval
==
''
||
!
is_numeric
(
$orderInterval
))
{
$orderInterval
=
FE_ORDER_INTERVAL_DEFAULT
;
}
$numColumns
=
0
;
if
(
count
(
$formElement
[
FE_SQL1
])
>
0
)
{
$numColumns
=
count
(
$formElement
[
FE_SQL1
][
0
])
+
(
int
)
$flagDelete
+
(
int
)(
$flagNew
||
$flagEdit
);
...
...
extension/Classes/Core/Constants.php
View file @
eeb27b78
...
...
@@ -1317,6 +1317,7 @@ const FE_TYPE_PILL = 'pill';
const
FE_HTML_ID
=
'htmlId'
;
// Will be dynamically computed during runtime.
const
FE_ORDER_INTERVAL
=
'orderInterval'
;
const
FE_ORDER_INTERVAL_DEFAULT
=
'10'
;
const
FE_ORDER_COLUMN
=
'orderColumn'
;
const
FE_DND_TABLE
=
'dndTable'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment