File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Then load the plugin by running CLI command:
2222## How it works
2323
2424` SequenceBehavior ` provided by this plugin maintains a contiguous sequence of
25- integers in a selected column, for records in a table records (optionally with grouping)
25+ integers in a selected column, for records in a table (optionally with grouping)
2626when adding, editing (including moving groups) or deleting records.
2727
2828## Usage
@@ -43,15 +43,15 @@ $this->addBehavior('ADmad/Sequence.Sequence', [
4343]);
4444```
4545
46- Now whenever to add a new record its ` position ` field will be automatically
46+ Now whenever a new record is added its ` position ` field will be automatically
4747set to current largest value in sequence plus one.
4848
4949When editing records you can set the position to a new value and the position of
5050other records in the list will be automatically updated to maintain proper
5151sequence.
5252
5353When doing a find on the table an order clause is automatically added to the
54- query to order by the position field if a order clause has not already been set.
54+ query to order by the position field if an order clause has not already been set.
5555
5656### Methods
5757
You can’t perform that action at this time.
0 commit comments