fix(library): workspace tab — ne pas filtrer par workspace_id (NULL dans la DB)
Les pages ont workspace_id=NULL, donc le filtre ne retournait rien. Le tab Workspace affiche maintenant toutes les pages avec workspace != ''.
This commit is contained in:
@@ -464,7 +464,7 @@ function libraryPage() {
|
||||
try {
|
||||
var url = '/api/library/' + this.tab;
|
||||
var sep = '?';
|
||||
if (this.workspaceId && (this.tab === 'recents' || this.tab === 'workspace')) {
|
||||
if (this.workspaceId && (this.tab === 'recents')) {
|
||||
url += sep + 'workspace_id=' + this.workspaceId; sep = '&';
|
||||
}
|
||||
if (this.tab === 'repository' && this.isGiteaActive) {
|
||||
|
||||
Reference in New Issue
Block a user