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

OO-623: reset the table preferences for repository entries list

parent 29ca12a7
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,9 @@ public class RepositorySearchMultiSelectController extends RepositorySearchContr ...@@ -89,7 +89,9 @@ public class RepositorySearchMultiSelectController extends RepositorySearchContr
vc.put("searchform",searchForm.getInitialComponent()); vc.put("searchform",searchForm.getInitialComponent());
TableGuiConfiguration tableConfig = new TableGuiConfiguration(); TableGuiConfiguration tableConfig = new TableGuiConfiguration();
if (selectButtonLabel != null) tableConfig.setPreferencesOffered(true, "repositorySearchResult"); if (selectButtonLabel != null) {
tableConfig.setPreferencesOffered(true, "repositorySearchResult_v2");
}
removeAsListenerAndDispose(tableCtr); removeAsListenerAndDispose(tableCtr);
tableCtr = new TableController(tableConfig, ureq, getWindowControl(), getTranslator()); tableCtr = new TableController(tableConfig, ureq, getWindowControl(), getTranslator());
......
...@@ -158,7 +158,9 @@ public class RepositorySearchController extends BasicController implements Activ ...@@ -158,7 +158,9 @@ public class RepositorySearchController extends BasicController implements Activ
vc.put("searchform",searchForm.getInitialComponent()); vc.put("searchform",searchForm.getInitialComponent());
TableGuiConfiguration tableConfig = new TableGuiConfiguration(); TableGuiConfiguration tableConfig = new TableGuiConfiguration();
if (selectButtonLabel != null) tableConfig.setPreferencesOffered(true, "repositorySearchResult"); if (selectButtonLabel != null) {
tableConfig.setPreferencesOffered(true, "repositorySearchResult_v2");
}
//fxdiff VCRP-10: repository search with type filter //fxdiff VCRP-10: repository search with type filter
String filterTitle = translator.translate("search.filter.type"); String filterTitle = translator.translate("search.filter.type");
......
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