Remove redundant store APIs for Boards: (#22968)
- getBlocksWithParent - getBlocksWithParentAndType - getBlocksWithType - getBlocksForBoard
Этот коммит содержится в:
@@ -86,7 +86,7 @@ func (a *App) writeArchiveBoard(zw *zip.Writer, board model.Board, opt model.Exp
|
||||
var files []string
|
||||
// write the board's blocks
|
||||
// TODO: paginate this
|
||||
blocks, err := a.GetBlocksForBoard(board.ID)
|
||||
blocks, err := a.GetBlocks(model.QueryBlocksOptions{BoardID: board.ID})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user