Skip to content

Commit

Permalink
IVYPORTAL-17408 DB query for filter in task/case widget is executed 3…
Browse files Browse the repository at this point in the history
… times: update jenkinfile
  • Loading branch information
lndanh-axonivy committed Sep 16, 2024
1 parent aa1b30d commit 2bbe20b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,13 @@
<!-- remote-command to apply widget filter -->
<p:remoteCommand id="apply-widget-filter-command-#{index}"
name="applyWidgetFilterCommand#{index}"
oncomplete="PF('filter-overlay-panel-#{index}').hide(); #{onCompleteApplyFilters}; resizeTableBody()"
update="widget-header-actions"
update="#{componentToUpdateOnApplyFilter} #{cc.clientId}:widget-header-actions"
oncomplete="PF('filter-overlay-panel-#{index}').hide();"
global="false" process="@this" partialSubmit="true" immediate="true"
rendered="#{renderFilter}"/>

<p:remoteCommand id="apply-widget-filter-command2-#{index}"
name="applyInvalidWidgetFilterCommand#{index}"
global="false" process="@this" partialSubmit="true" immediate="true"
rendered="#{renderFilter}"/>

Expand Down Expand Up @@ -239,9 +244,14 @@

<p:commandButton id="apply-button" value="#{ivy.cms.co('/ch.ivy.addon.portalkit.ui.jsf/common/apply')}"
partialSubmit="true"
update="#{componentToUpdateOnApplyFilter} #{cc.clientId}:widget-header-actions"
update="filter-form-#{index}"
process="filter-form-#{index}"
oncomplete="PF('filter-overlay-panel-#{index}').hide(); initWidgetFilterHtml('#{widget.id}');"
oncomplete="if (args &amp;&amp; !args.validationFailed) {
applyWidgetFilterCommand#{index}();
} else {
applyInvalidWidgetFilterCommand#{index}();
}
initWidgetFilterHtml('#{widget.id}');"
actionListener="#{widget.onApplyUserFilters()}"
icon="si si-check-1"
styleClass="u-mar-right-5" />
Expand Down
2 changes: 1 addition & 1 deletion build/create-release/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent {label 'portal-slave'}
agent {label 'lndanh-pc'}

options {
buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '5'))
Expand Down
2 changes: 1 addition & 1 deletion build/document-screenshot-selenide/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent {label 'portal-slave'}
agent {label 'lndanh-pc'}

options {
buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60'))
Expand Down
2 changes: 1 addition & 1 deletion build/gui-test-cluster/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent {label 'portal-slave'}
agent {label 'lndanh-pc'}

options {
buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '30'))
Expand Down
2 changes: 1 addition & 1 deletion build/gui-test-new-dashboard/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent {label 'portal-slave'}
agent {label 'lndanh-pc'}

options {
buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60'))
Expand Down
2 changes: 1 addition & 1 deletion build/integration/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent {label 'portal-slave'}
agent {label 'lndanh-pc'}

options {
buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '5'))
Expand Down

0 comments on commit 2bbe20b

Please sign in to comment.