Skip to content

Commit

Permalink
Merge pull request #410 from hbugdoll/blockgroup-fix
Browse files Browse the repository at this point in the history
Fixed block group extra attribute sorting issue
  • Loading branch information
nadar authored Feb 21, 2024
2 parents f2ead8e + 3163fc3 commit 1086b5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).
In order to read more about upgrading and BC breaks have a look at the [UPGRADE Document](UPGRADE.md).

## 5.1.1

+ [#410](https://github.com/luyadev/luya-module-cms/pull/410) Disabled sorting functionality for the "group" extra field in the block CRUD interface due to an exception being thrown. This issue occurred because the field is declared as an `extraAttribute`.

## 5.1.0 (7. February 2024)

> This release contains a very small change when using the block `getEnvOption('pageObject')`. Check the [UPGRADE document](UPGRADE.md) to read more about.
Expand Down
2 changes: 1 addition & 1 deletion src/models/BlockGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function ngRestAttributeTypes()
public function ngRestExtraAttributeTypes()
{
return [
'groupLabel' => 'text',
'groupLabel' => ['text', 'sortField' => false],
];
}

Expand Down

0 comments on commit 1086b5b

Please sign in to comment.