From 4b319cd0bec4c78004f9518ae4ae39744ea9d6aa Mon Sep 17 00:00:00 2001 From: Mattia Gosetto Date: Thu, 26 Aug 2021 12:37:44 +0200 Subject: [PATCH] finiti filtri bo e fe --- .../it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java | 5 ++++- .../portos-bo-portlet/docroot/WEB-INF/src/service.properties | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java index 644cdf8c..b510286e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java @@ -203,7 +203,10 @@ public class IntPraticaIndexer extends BaseIndexer { if (userIstruttore != null) { document.addText(PortosIndexField.ISTRUTTORE_FULL_NAME, userIstruttore.getFullName()); } - document.addKeyword(PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 1L); + if(intPratica.getStatoPratica().equals(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) + document.addKeyword(PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 1L); + else + document.addKeyword(PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 0L); }else{ document.addKeyword(PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 0L); } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 49df706b..893644ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_bo - build.number=3295 - build.date=1629962832872 + build.number=3298 + build.date=1629973940370 build.auto.upgrade=true ##