Skip to content

Commit 1086b5b

Browse files
authored
Merge pull request #410 from hbugdoll/blockgroup-fix
Fixed block group extra attribute sorting issue
2 parents f2ead8e + 3163fc3 commit 1086b5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).
44
In order to read more about upgrading and BC breaks have a look at the [UPGRADE Document](UPGRADE.md).
55

6+
## 5.1.1
7+
8+
+ [#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`.
9+
610
## 5.1.0 (7. February 2024)
711

812
> This release contains a very small change when using the block `getEnvOption('pageObject')`. Check the [UPGRADE document](UPGRADE.md) to read more about.

src/models/BlockGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function ngRestAttributeTypes()
8888
public function ngRestExtraAttributeTypes()
8989
{
9090
return [
91-
'groupLabel' => 'text',
91+
'groupLabel' => ['text', 'sortField' => false],
9292
];
9393
}
9494

0 commit comments

Comments
 (0)