Sort correclty eager and lazy fields when calling Form.display

Closes #12890
(grafted from 60a0e087ead74ae2c242c33f56977f466d3874be)

--HG--
branch : 7.0
This commit is contained in:
Nicolas Évrard committed 2023-12-22 14:48:49 +01:00
1 parent 5affc34597
commit c8d657892c
1 file changed
+1 -1
+1 -1
View File
@@ -347,7 +347,7 @@ function eval_pyson(value){
field = record.model.fields[fname];
fields.push([
fname,
field.description.loading || 'eager' == 'eager',
(field.description.loading || 'eager') == 'eager',
field.views.size,
]);
}