Skip to content
Snippets Groups Projects
Commit 0a2ed56c authored by srosse's avatar srosse
Browse files

OO-4247: fix table if filter sets without results (patch S. Clemenz)

parent 845321d8
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ public class CatalogNodeController extends BasicController implements Activateab
searchParams.setClosed(Boolean.FALSE);
entryListController = new RepositoryEntryListController(ureq, wControl, searchParams, true, false, "catalog", stackPanel);
if(!entryListController.isEmpty()) {
if(!entryListController.isEmpty() || searchParams.getFilters() != null) {
mainVC.put("entries", entryListController.getInitialComponent());
}
listenTo(entryListController);
......@@ -159,7 +159,7 @@ public class CatalogNodeController extends BasicController implements Activateab
searchClosedParams.setParentEntry(catalogEntry);
searchClosedParams.setClosed(Boolean.TRUE);
closedEntryListController = new RepositoryEntryListController(ureq, wControl, searchClosedParams, true, false, "catalog-closed", stackPanel);
if(!closedEntryListController.isEmpty()) {
if(!closedEntryListController.isEmpty() || searchClosedParams.getFilters() != null) {
mainVC.put("closedEntries", closedEntryListController.getInitialComponent());
}
listenTo(closedEntryListController);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment