From eb93ccb827f975bbc8d38afcd7fca1a4740432a6 Mon Sep 17 00:00:00 2001 From: WofWca Date: Tue, 21 Mar 2023 13:50:03 +0400 Subject: [PATCH] chore(docs): add info about `/buckets` sorting --- pkg/models/kanban.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/kanban.go b/pkg/models/kanban.go index 01905288d17..146996bd47f 100644 --- a/pkg/models/kanban.go +++ b/pkg/models/kanban.go @@ -103,7 +103,7 @@ func getDoneBucketForProject(s *xorm.Session, projectID int64) (bucket *Bucket, // ReadAll returns all buckets with their tasks for a certain project // @Summary Get all kanban buckets of a project -// @Description Returns all kanban buckets with belong to a project including their tasks. +// @Description Returns all kanban buckets with belong to a project including their tasks. Buckets are always sorted by their `position` in ascending order. Tasks are sorted by their `kanban_position` in ascending order. // @tags task // @Accept json // @Produce json