1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-12 16:28:06 +00:00

Merge branch '3522-sort-by-link-row-broken' into 'develop'

Resolve "Sort by link row broken"

Closes 

See merge request 
This commit is contained in:
Davide Silvestri 2025-03-19 16:42:31 +01:00
commit 28cf486e6c
2 changed files with 9 additions and 1 deletions
changelog/entries/unreleased/bug
web-frontend/modules/database

View file

@ -0,0 +1,8 @@
{
"type": "bug",
"message": "Fixed a bug in which sorting by a link row field caused the frontend to crash.",
"domain": "database",
"issue_number": 3522,
"bullet_points": [],
"created_at": "2025-03-19"
}

View file

@ -531,7 +531,7 @@ export class FieldType extends Registerable {
getSortTypes(field) {
return {
[DEFAULT_SORT_TYPE_KEY]: {
function: this.getSort,
function: this.getSort.bind(this),
indicator: this.getSortIndicator(field),
},
}