From 5e0b39624adee1ddcfb5245e01468f0f5b67b103 Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Tue, 23 Feb 2021 09:35:56 +0100 Subject: [PATCH 1/2] Sort lists initialy by first column --- .../WEB-INF/templates/includes/projects/docketList.xhtml | 4 +++- .../WEB-INF/templates/includes/projects/projectList.xhtml | 2 ++ .../WEB-INF/templates/includes/projects/rulesetList.xhtml | 4 +++- .../WEB-INF/templates/includes/projects/templateList.xhtml | 2 ++ .../WEB-INF/templates/includes/projects/workflowList.xhtml | 2 ++ .../webapp/WEB-INF/templates/includes/tasks/taskList.xhtml | 4 +++- .../webapp/WEB-INF/templates/includes/users/clientList.xhtml | 2 ++ .../WEB-INF/templates/includes/users/ldapgroupList.xhtml | 2 ++ .../WEB-INF/templates/includes/users/ldapserverList.xhtml | 2 ++ .../webapp/WEB-INF/templates/includes/users/roleList.xhtml | 2 ++ .../webapp/WEB-INF/templates/includes/users/userList.xhtml | 2 ++ 11 files changed, 25 insertions(+), 3 deletions(-) diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/docketList.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/docketList.xhtml index 7a619a3d65f..2b47e626101 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/docketList.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/docketList.xhtml @@ -16,6 +16,7 @@ xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> + diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/projectList.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/projectList.xhtml index e715c84860d..bd9eda0d1cf 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/projectList.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/projectList.xhtml @@ -16,6 +16,7 @@ xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> + + diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/templateList.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/templateList.xhtml index efb8efc249c..31d1903ff4d 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/templateList.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/projects/templateList.xhtml @@ -17,6 +17,7 @@ xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:o="http://omnifaces.org/ui" xmlns:p="http://primefaces.org/ui"> + + + + + + rows="#{LoginForm.loggedUser.tableSize}" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {NextPageLink} {LastPageLink}" currentPageReportTemplate="#{msgs.currentPageReportTemplate}" diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/users/roleList.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/users/roleList.xhtml index 9bee22ade21..af39fb42d16 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/users/roleList.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/users/roleList.xhtml @@ -16,6 +16,7 @@ xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> + + Date: Tue, 23 Feb 2021 10:23:02 +0100 Subject: [PATCH 2/2] Adjust Selenium test --- Kitodo/src/test/java/org/kitodo/selenium/EditingST.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kitodo/src/test/java/org/kitodo/selenium/EditingST.java b/Kitodo/src/test/java/org/kitodo/selenium/EditingST.java index 5ceb6ebf55d..7015a344821 100644 --- a/Kitodo/src/test/java/org/kitodo/selenium/EditingST.java +++ b/Kitodo/src/test/java/org/kitodo/selenium/EditingST.java @@ -163,7 +163,7 @@ public void editRulesetTest() throws Exception { @Test public void editUserTest() throws Exception { usersPage.editUser(); - assertEquals("Header for edit user is incorrect", "Benutzer bearbeiten (Kowalski, Jan)", + assertEquals("Header for edit user is incorrect", "Benutzer bearbeiten (null, Removable user)", Pages.getUserEditPage().getHeaderText()); }