Commit d3492d1c authored by michael.simon's avatar michael.simon
Browse files

change filter mode on tables

parent 2579eda5
......@@ -41,19 +41,19 @@
<f:param name="id" value="#{entity.id}"/>
</h:link>
</p:column>
<p:column sortBy="#{entity.detail}" filterBy="#{entity.detail}">
<p:column sortBy="#{entity.detail}" filterBy="#{entity.detail}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.audit_detail}" />
</f:facet>
<h:outputText value="#{entity.detail}" />
</p:column>
<p:column sortBy="#{entity.name}" filterBy="#{entity.name}">
<p:column sortBy="#{entity.name}" filterBy="#{entity.name}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.name}" />
</f:facet>
<h:outputText value="#{entity.name}" />
</p:column>
<p:column sortBy="#{entity.executor}" filterBy="#{entity.executor}">
<p:column sortBy="#{entity.executor}" filterBy="#{entity.executor}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.executor}" />
</f:facet>
......
......@@ -33,19 +33,19 @@
</f:facet>
<h:outputText value="#{user.id}" />
</p:column>
<p:column sortBy="#{user.surName}" filterBy="#{user.surName}">
<p:column sortBy="#{user.surName}" filterBy="#{user.surName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.sur_name}" />
</f:facet>
<h:outputText value="#{user.surName}" />
</p:column>
<p:column sortBy="#{user.givenName}" filterBy="#{user.givenName}">
<p:column sortBy="#{user.givenName}" filterBy="#{user.givenName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.given_name}" />
</f:facet>
<h:outputText value="#{user.givenName}" />
</p:column>
<p:column sortBy="#{user.eppn}" filterBy="#{user.eppn}">
<p:column sortBy="#{user.eppn}" filterBy="#{user.eppn}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.eppn}" />
</f:facet>
......
......@@ -37,15 +37,15 @@
</f:facet>
<h:outputText value="#{registry.id}" />
</p:column>
<p:column sortBy="#{registry.user.eppn}" filterBy="#{registry.user.eppn}">
<p:column sortBy="#{registry.user.eppn}" filterBy="#{registry.user.eppn}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.eppn}" />
</f:facet>
<h:link outcome="show-service-registry.xhtml" value="#{registry.user.eppn}">
<h:link outcome="show-service-registry.xhtml" value="#{registry.user.eppn}" filterMatchMode="contains">
<f:param name="id" value="#{registry.id}"/>
</h:link>
</p:column>
<p:column sortBy="#{registry.user.uidNumber}" filterBy="#{registry.user.uidNumber}" filterStyle="width: 48px;">
<p:column sortBy="#{registry.user.uidNumber}" filterBy="#{registry.user.uidNumber}" filterStyle="width: 96px;" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.uid_number}" />
</f:facet>
......@@ -53,13 +53,13 @@
<f:param name="id" value="#{registry.id}"/>
</h:link>
</p:column>
<p:column sortBy="#{registry.user.surName}" filterBy="#{registry.user.surName}" filterStyle="width: 48px;">
<p:column sortBy="#{registry.user.surName}" filterBy="#{registry.user.surName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.sur_name}" />
</f:facet>
<h:outputText value="#{registry.user.surName}" />
</p:column>
<p:column sortBy="#{registry.user.givenName}" filterBy="#{registry.user.givenName}" filterStyle="width: 48px;">
<p:column sortBy="#{registry.user.givenName}" filterBy="#{registry.user.givenName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.given_name}" />
</f:facet>
......
......@@ -29,19 +29,19 @@
<p:dataTable id="registeredTable" var="registry"
value="#{approvalListBean.list}" style="width:auto; font-size: 1.2rem;"
paginator="true" lazy="true" rows="15">
<p:column sortBy="#{registry.user.eppn}" filterBy="#{registry.user.eppn}">
<p:column sortBy="#{registry.user.eppn}" filterBy="#{registry.user.eppn}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.eppn}" />
</f:facet>
<h:outputText value="#{registry.user.eppn}" />
</p:column>
<p:column sortBy="#{registry.user.surName}" filterBy="#{registry.user.surName}">
<p:column sortBy="#{registry.user.surName}" filterBy="#{registry.user.surName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.sur_name}" />
</f:facet>
<h:outputText value="#{registry.user.surName}" />
</p:column>
<p:column sortBy="#{registry.user.givenName}" filterBy="#{registry.user.givenName}">
<p:column sortBy="#{registry.user.givenName}" filterBy="#{registry.user.givenName}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.given_name}" />
</f:facet>
......
......@@ -37,19 +37,19 @@
</f:facet>
<h:outputText value="#{key.id}" />
</p:column>
<p:column sortBy="#{key.registry.user.eppn}" filterBy="#{key.registry.user.eppn}">
<p:column sortBy="#{key.registry.user.eppn}" filterBy="#{key.registry.user.eppn}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.eppn}" />
</f:facet>
<h:outputText value="#{key.registry.user.eppn}" /> (<h:outputText value="#{key.registry.user.surName}" />, <h:outputText value="#{key.registry.user.givenName}" />)
</p:column>
<p:column sortBy="#{key.command}" filterBy="#{key.command}">
<p:column sortBy="#{key.command}" filterBy="#{key.command}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.command}" />
</f:facet>
<h:outputText value="#{key.command}" />
</p:column>
<p:column sortBy="#{key.from}" filterBy="#{key.from}">
<p:column sortBy="#{key.from}" filterBy="#{key.from}" filterMatchMode="contains">
<f:facet name="header">
<h:outputText value="#{messages.from}" />
</f:facet>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment