Orders results of the GetAll remote clusters store method (#27548)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e5a3dd7fea
Коммит
b596430920
@@ -172,7 +172,8 @@ func (s sqlRemoteClusterStore) GetAll(offset, limit int, filter model.RemoteClus
|
||||
|
||||
query := s.getQueryBuilder().
|
||||
Select(remoteClusterFields("rc")...).
|
||||
From("RemoteClusters rc")
|
||||
From("RemoteClusters rc").
|
||||
OrderBy("rc.DisplayName, rc.Name")
|
||||
|
||||
if filter.InChannel != "" {
|
||||
query = query.Where("rc.RemoteId IN (SELECT scr.RemoteId FROM SharedChannelRemotes scr WHERE scr.ChannelId = ?)", filter.InChannel)
|
||||
|
||||
Ссылка в новой задаче
Block a user