Skip to content

Commit b81cd22

Browse files
committed
Correct the class name based on new namespace
1 parent 50e9121 commit b81cd22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ to the require section of your `composer.json` file.
2323
Usage
2424
----
2525

26-
In widgets that have the sorter like ListView set the "class" attribute to "rsr\yii2-button-dropdown-sorter\ButtonDropdownSorter".
26+
In widgets that have the sorter, like ListView, set the "class" attribute to "rsr\yii2\ButtonDropdownSorter".
2727
There is an optional "label" attribute which defines the label of the button which defaults to "Sort".
28-
Be sure the {sorter} exists in widget's template.
28+
Be sure the {sorter} is present in widget's template.
2929

3030

3131
Example:
@@ -36,7 +36,7 @@ Example:
3636
'itemView' => '_views',
3737
'layout' => "{sorter}\n{summary}\n{items}\n{pager}",
3838
'sorter' => [
39-
'class' => 'rsr\yii2-button-dropdown-sorter\ButtonDropdownSorter',
39+
'class' => 'rsr\yii2\ButtonDropdownSorter',
4040
'label' => 'Sort Items',
4141
],
4242
]); ?>

0 commit comments

Comments
 (0)