Skip to content

Commit

Permalink
fix for reset search storage for resource page (MID-7549)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jan 19, 2022
1 parent 797384c commit 916024b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ protected void initLayout() {

MainObjectListPanel<ResourceType> table = new MainObjectListPanel<ResourceType>(ID_TABLE, ResourceType.class, getQueryOptions()) {

@Override
protected void objectDetailsPerformed(AjaxRequestTarget target, ResourceType object) {
clearSessionStorageForResourcePage();
super.objectDetailsPerformed(target, object);
}

@Override
protected UserProfileStorage.TableId getTableId() {
return UserProfileStorage.TableId.TABLE_RESOURCES;
Expand Down

0 comments on commit 916024b

Please sign in to comment.