mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
f0dd9af699
Add tests for sorting on joined alias
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
ManyManyThroughListTest_Object:
|
|
parent1:
|
|
Title: 'my object'
|
|
ManyManyThroughListTest_Item:
|
|
child1:
|
|
Title: 'item 1'
|
|
child2:
|
|
Title: 'item 2'
|
|
ManyManyThroughListTest_JoinObject:
|
|
join1:
|
|
Title: 'join 1'
|
|
Sort: 4
|
|
Parent: =>ManyManyThroughListTest_Object.parent1
|
|
Child: =>ManyManyThroughListTest_Item.child1
|
|
join2:
|
|
Title: 'join 2'
|
|
Sort: 2
|
|
Parent: =>ManyManyThroughListTest_Object.parent1
|
|
Child: =>ManyManyThroughListTest_Item.child2
|
|
ManyManyThroughListTest_VersionedObject:
|
|
parent1:
|
|
Title: 'versioned object'
|
|
ManyManyThroughListTest_VersionedItem:
|
|
child1:
|
|
Title: 'versioned item 1'
|
|
child2:
|
|
Title: 'versioned item 2'
|
|
ManyManyThroughListTest_VersionedJoinObject:
|
|
join1:
|
|
Title: 'versioned join 1'
|
|
Parent: =>ManyManyThroughListTest_VersionedObject.parent1
|
|
Child: =>ManyManyThroughListTest_VersionedItem.child1
|
|
join2:
|
|
Title: 'versioned join 2'
|
|
Parent: =>ManyManyThroughListTest_VersionedObject.parent1
|
|
Child: =>ManyManyThroughListTest_VersionedItem.child2
|