mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix typos in 02_Relations.md
This commit is contained in:
parent
52c61b9c52
commit
a5e4a5c97d
@ -324,7 +324,7 @@ This is declared via array syntax, with the following keys on the many_many:
|
||||
- `from` Name of the has_one relationship pointing back at the object declaring many_many
|
||||
- `to` Name of the has_one relationship pointing to the object declaring belongs_many_many.
|
||||
|
||||
Just like a any normal DataObject, you can apply a default sort which will be applied when
|
||||
Just like in any normal DataObject, you can apply a default sort which will be applied when
|
||||
accessing many many through relations.
|
||||
|
||||
Note: The `through` class must not also be the name of any field or relation on the parent
|
||||
@ -442,7 +442,7 @@ The joined record can be accessed via `Join` or `TeamSupporter` property (many_m
|
||||
<% with $Supporter %>
|
||||
<% loop $Supports %>
|
||||
Supports $Title <% if $TeamSupporter %>(rank $TeamSupporter.Ranking)<% end_if %>
|
||||
<% end_if %>
|
||||
<% end_loop %>
|
||||
<% end_with %>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user