Skip to content

Commit

Permalink
Merge pull request kitodo#5865 from effective-webwork/redundant-filters
Browse files Browse the repository at this point in the history
Remove redundant filter and task status menus
  • Loading branch information
solth authored Jan 16, 2024
2 parents be40db8 + c014622 commit 4b4eaca
Showing 1 changed file with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,40 +277,4 @@
</p:rowExpansion>
</p:dataTable>
</h:form>

<div id="dropDownMenus">
<h:form id="filterForm"
styleClass="filter-form"
style="display: inline-block;">
<p:selectCheckboxMenu id="taskFilters"
panelStyleClass="filter-panel"
value="#{CurrentTaskForm.selectedTaskFilters}"
styleClass="secondary"
label="#{msgs.filter}">
<f:selectItems value="#{CurrentTaskForm.taskFilters}"
var="taskFilter"
itemLabel="#{msgs[taskFilter]}"/>
<p:ajax event="change"
onstart="PF('taskTable').getPaginator().setPage(0);"
listener="#{CurrentTaskForm.taskFiltersChanged}"
update="tasksTabView:tasksForm:taskTable"/>
</p:selectCheckboxMenu>
</h:form>
<h:form id="statusForm"
style="display: inline-block;">
<p:selectCheckboxMenu id="taskStatus"
panelStyleClass="filter-panel"
value="#{CurrentTaskForm.selectedTaskStatus}"
styleClass="secondary"
label="#{msgs.processingStatus}">
<f:selectItems value="#{CurrentTaskForm.taskStatus}"
var="taskStatus"
itemLabel="#{msgs[taskStatus.title]}"/>
<p:ajax event="change"
onstart="PF('taskTable').getPaginator().setPage(0);"
listener="#{CurrentTaskForm.taskStatusChanged}"
update="tasksTabView:tasksForm:taskTable"/>
</p:selectCheckboxMenu>
</h:form>
</div>
</ui:composition>

0 comments on commit 4b4eaca

Please sign in to comment.