Revert "Nested Folders: Fix fetching a folder by title" (#76469)
Revert "Nested Folders: Fix fetching a folder by title (#74725)"
This reverts commit 0eac9aff7f.
This commit is contained in:
@@ -125,15 +125,13 @@ type DeleteFolderCommand struct {
|
||||
|
||||
// GetFolderQuery is used for all folder Get requests. Only one of UID, ID, or
|
||||
// Title should be set; if multiple fields are set by the caller the dashboard
|
||||
// service will select the field with the most specificity, in order: UID, ID
|
||||
// Title. If Title is set, it will fetch the folder in the root folder.
|
||||
// Callers can additionally set the ParentUID field to fetch a folder by title under a specific folder.
|
||||
// service will select the field with the most specificity, in order: ID, UID,
|
||||
// Title.
|
||||
type GetFolderQuery struct {
|
||||
UID *string
|
||||
ParentUID *string
|
||||
ID *int64
|
||||
Title *string
|
||||
OrgID int64
|
||||
UID *string
|
||||
ID *int64
|
||||
Title *string
|
||||
OrgID int64
|
||||
|
||||
SignedInUser identity.Requester `json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user