Fix getting lists for shared, favorite and saved lists namespace
This commit is contained in:
parent
fc4eb8ceb9
commit
6fa95e6492
3 changed files with 44 additions and 15 deletions
|
|
@ -113,6 +113,10 @@ func getNamespaceSimpleByID(s *xorm.Session, id int64) (namespace *Namespace, er
|
|||
return &FavoritesPseudoNamespace, nil
|
||||
}
|
||||
|
||||
if id == SavedFiltersPseudoNamespace.ID {
|
||||
return &SavedFiltersPseudoNamespace, nil
|
||||
}
|
||||
|
||||
namespace = &Namespace{}
|
||||
|
||||
exists, err := s.Where("id = ?", id).Get(namespace)
|
||||
|
|
|
|||
Reference in a new issue