Skip to content

Commit 5bafc36

Browse files
authored
Update README.md
1 parent 6f34077 commit 5bafc36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)
2626
when 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
4747
set to current largest value in sequence plus one.
4848

4949
When editing records you can set the position to a new value and the position of
5050
other records in the list will be automatically updated to maintain proper
5151
sequence.
5252

5353
When 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

0 commit comments

Comments
 (0)