Skip to content

Commit 9bc48c1

Browse files
committed
Update documentation of sorting in list views
1 parent a7ee823 commit 9bc48c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/php/api/list_views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ class ExampleListView extends AbstractListView
134134
new ListViewSortField('title', 'wcf.global.title'),
135135
]);
136136

137-
$this->setSortField('title');
138-
$this->setSortOrder('ASC');
137+
$this->setDefaultSortField('title');
138+
$this->setDefaultSortOrder('ASC');
139139
}
140140
}
141141
```

0 commit comments

Comments
 (0)