Skip to content

Commit

Permalink
#9787 S2S_Revision of the case directory and contact directory_Part 1…
Browse files Browse the repository at this point in the history
… - fixes after merge with develop - fix missing method issue after merge
  • Loading branch information
Levente Gal committed Sep 6, 2022
1 parent d66b718 commit 01e998d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public CasesView() {
private CaseCriteria getDefaultCriteria() {
CaseCriteria criteria = new CaseCriteria().relevanceStatus(EntityRelevanceStatus.ACTIVE);

if (FacadeProvider.getSormasToSormasFacade().isFeatureEnabledForUser()) {
if (FacadeProvider.getSormasToSormasFacade().isShareEnabledForUser()) {
criteria.setWithOwnership(true);
}

Expand Down Expand Up @@ -634,7 +634,7 @@ public HorizontalLayout createStatusFilterBar() {
HorizontalLayout actionButtonsLayout = new HorizontalLayout();
actionButtonsLayout.setSpacing(true);
{
if (FacadeProvider.getSormasToSormasFacade().isFeatureEnabledForUser()) {
if (FacadeProvider.getSormasToSormasFacade().isShareEnabledForUser()) {
ComboBox ownershipFilter = ComboBoxHelper.createComboBoxV7();
ownershipFilter.setId("ownershipStatus");
ownershipFilter.setWidth(140, Unit.PIXELS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public ContactsView() {
private ContactCriteria getDefaultCriteria() {
ContactCriteria criteria = new ContactCriteria().relevanceStatus(EntityRelevanceStatus.ACTIVE);

if (FacadeProvider.getSormasToSormasFacade().isFeatureEnabledForUser()) {
if (FacadeProvider.getSormasToSormasFacade().isShareEnabledForUser()) {
criteria.setWithOwnership(true);
}

Expand Down Expand Up @@ -448,7 +448,7 @@ public HorizontalLayout createStatusFilterBar() {
HorizontalLayout actionButtonsLayout = new HorizontalLayout();
actionButtonsLayout.setSpacing(true);
{
if (FacadeProvider.getSormasToSormasFacade().isFeatureEnabledForUser()) {
if (FacadeProvider.getSormasToSormasFacade().isShareEnabledForUser()) {
ComboBox ownershipFilter = ComboBoxHelper.createComboBoxV7();
ownershipFilter.setId("ownershipStatus");
ownershipFilter.setWidth(140, Unit.PIXELS);
Expand Down

0 comments on commit 01e998d

Please sign in to comment.