mirror of
https://github.com/plankanban/planka.git
synced 2025-08-08 06:55:30 +02:00
parent
ddf9a32ea9
commit
ad67b9ba24
27 changed files with 341 additions and 94 deletions
|
@ -206,7 +206,7 @@ export default class extends Model {
|
|||
}
|
||||
|
||||
getOrderedTasksQuerySet() {
|
||||
return this.tasks.orderBy('id');
|
||||
return this.tasks.orderBy('position');
|
||||
}
|
||||
|
||||
getOrderedAttachmentsQuerySet() {
|
||||
|
|
|
@ -7,6 +7,7 @@ export default class extends Model {
|
|||
|
||||
static fields = {
|
||||
id: attr(),
|
||||
position: attr(),
|
||||
name: attr(),
|
||||
isCompleted: attr({
|
||||
getDefault: () => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue