mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 20:45:47 +02:00
Slightly improved logic Add support for relations more than one 'level' apart Add unit tests Fixing PostgreSQL support Throw exception if attempting to sort on a has_many/many_many relation
40 lines
991 B
YAML
40 lines
991 B
YAML
GridFieldSortableHeaderTest_CheerleaderHat:
|
|
hat1:
|
|
Colour: Blue
|
|
hat2:
|
|
Colour: Red
|
|
hat3:
|
|
Colour: Green
|
|
hat4:
|
|
Colour: Pink
|
|
GridFieldSortableHeaderTest_Cheerleader:
|
|
cheerleader1:
|
|
Name: Heather
|
|
Hat: =>GridFieldSortableHeaderTest_CheerleaderHat.hat2
|
|
cheerleader2:
|
|
Name: Bob
|
|
Hat: =>GridFieldSortableHeaderTest_CheerleaderHat.hat4
|
|
cheerleader3:
|
|
Name: Jenny
|
|
Hat: =>GridFieldSortableHeaderTest_CheerleaderHat.hat1
|
|
cheerleader4:
|
|
Name: Sam
|
|
Hat: =>GridFieldSortableHeaderTest_CheerleaderHat.hat3
|
|
GridFieldSortableHeaderTest_Team:
|
|
team1:
|
|
Name: Team 1
|
|
City: Cologne
|
|
Cheerleader: =>GridFieldSortableHeaderTest_Cheerleader.cheerleader3
|
|
team2:
|
|
Name: Team 2
|
|
City: Wellington
|
|
Cheerleader: =>GridFieldSortableHeaderTest_Cheerleader.cheerleader2
|
|
team3:
|
|
Name: Team 3
|
|
City: Auckland
|
|
Cheerleader: =>GridFieldSortableHeaderTest_Cheerleader.cheerleader4
|
|
team4:
|
|
Name: Team 4
|
|
City: Melbourne
|
|
Cheerleader: =>GridFieldSortableHeaderTest_Cheerleader.cheerleader1
|