-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] sorting with nested containers
Fixes: #425
- Loading branch information
Achim Fritz
committed
Aug 15, 2023
1 parent
b30aa88
commit f3d45ee
Showing
14 changed files
with
156 additions
and
17 deletions.
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
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
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
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
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
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
10 changes: 10 additions & 0 deletions
10
Tests/Functional/Datahandler/DefaultLanguage/Fixtures/MoveElement/nested_container.csv
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"pages" | ||
,"uid","pid","title","slug" | ||
,1,0,"page-1","/" | ||
"tt_content" | ||
,"uid","pid","CType","header","sorting","sys_language_uid","colPos","tx_container_parent" | ||
,1,1,"header","outside",128,0,0, | ||
,2,1,"b13-2cols-with-header-container","container",256,0,, | ||
,3,1,"b13-2cols-with-header-container","nested-container",512,0,201,2 | ||
,4,1,"header","element-in-nested-container",768,0,201,3 | ||
# move 1 target -3 shoukd sort 1 after 4 |
10 changes: 10 additions & 0 deletions
10
Tests/Functional/Datahandler/DefaultLanguage/Fixtures/NewElement/nested_container.csv
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"pages" | ||
,"uid","pid","title","slug" | ||
,1,0,"page-1","/" | ||
"tt_content" | ||
,"uid","pid","CType","header","sorting","sys_language_uid","colPos","tx_container_parent" | ||
,2,1,"b13-2cols-with-header-container","container",256,0,, | ||
,3,1,"b13-2cols-with-header-container","nested-container",512,0,201,2 | ||
,4,1,"header","element-in-nested-container",768,0,201,3 | ||
# create new target -3 -> sorted after 4 | ||
# nochmal eins in ersten container reinmachen -> test |
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
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
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
10 changes: 10 additions & 0 deletions
10
Tests/Functional/Integrity/Fixtures/Sorting/nested_container.csv
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"pages" | ||
,"uid","pid","title","slug" | ||
,1,0,"page-1","/" | ||
"tt_content" | ||
,"uid","pid","CType","header","sorting","sys_language_uid","colPos","tx_container_parent" | ||
,2,1,"b13-2cols-with-header-container","container",256,0,, | ||
,3,1,"b13-2cols-with-header-container","nested-container",512,0,201,2 | ||
,1,1,"header","wrong-sorting",768,0,201,2, | ||
,4,1,"header","element-in-nested-container",1024,0,201,3 | ||
# 1 should sort after 4 |
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
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