Skip to content

Commit

Permalink
Upgrade: Rename SequenceBehavior config 'order' to 'sequenceField'
Browse files Browse the repository at this point in the history
  • Loading branch information
rchavik committed Sep 17, 2020
1 parent ed8e170 commit 587a48a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Blocks/src/Model/Table/BlocksTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function initialize(array $config): void
$this->addBehavior('Croogo/Core.Publishable');
$this->addBehavior('Croogo/Core.Visibility');
$this->addBehavior('ADmad/Sequence.Sequence', [
'order' => 'weight',
'sequenceField' => 'weight',
'scope' => ['region_id'],
]);
$this->addBehavior('Croogo/Core.Cached', [
Expand Down
2 changes: 1 addition & 1 deletion Dashboards/src/Model/Table/DashboardsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function initialize(array $config): void
$this->setTable('dashboards');
$this->addBehavior('Timestamp');
$this->addBehavior('ADmad/Sequence.Sequence', [
'order' => 'weight',
'sequenceField' => 'weight',
'scope' => ['user_id', 'column'],
]);
$this->belongsTo('Users', [
Expand Down
2 changes: 1 addition & 1 deletion Settings/src/Model/Table/LanguagesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function initialize(array $config): void
{
$this->addBehavior('Croogo/Core.Trackable');
$this->addBehavior('ADmad/Sequence.Sequence', [
'order' => 'weight',
'sequenceField' => 'weight',
]);
$this->addBehavior('Search.Search');
$this->addBehavior('Timestamp');
Expand Down
2 changes: 1 addition & 1 deletion Taxonomy/src/Model/Table/VocabulariesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class VocabulariesTable extends CroogoTable
public function initialize(array $config): void
{
$this->addBehavior('ADmad/Sequence.Sequence', [
'order' => 'weight',
'sequenceField' => 'weight',
]);

$this->addBehavior('Timestamp');
Expand Down

0 comments on commit 587a48a

Please sign in to comment.