Skip to content

Commit 472b560

Browse files
committedMar 19, 2025
Resolve "Sort by link row broken"
1 parent 0ed8d40 commit 472b560

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "bug",
3+
"message": "Fixed a bug in which sorting by a link row field caused the frontend to crash.",
4+
"domain": "database",
5+
"issue_number": 3522,
6+
"bullet_points": [],
7+
"created_at": "2025-03-19"
8+
}

‎web-frontend/modules/database/fieldTypes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ export class FieldType extends Registerable {
531531
getSortTypes(field) {
532532
return {
533533
[DEFAULT_SORT_TYPE_KEY]: {
534-
function: this.getSort,
534+
function: this.getSort.bind(this),
535535
indicator: this.getSortIndicator(field),
536536
},
537537
}

0 commit comments

Comments
 (0)