Changes for page Nice Display
Last modified by Benjamin Fischer on 2025/03/26 13:19
From version 30.3
edited by admin
on 2024/10/23 14:46
on 2024/10/23 14:46
Change comment:
There is no comment for this version
To version 31.1
edited by Benjamin Fischer
on 2024/10/24 10:09
on 2024/10/24 10:09
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.fischer - Content
-
... ... @@ -21,7 +21,7 @@ 21 21 'rowCount': 15, 22 22 'maxPages': 10, 23 23 'selectedColumn': 'doc.date', 24 - 'defaultOrder': ' asc'24 + 'defaultOrder': 'desc' 25 25 }) 26 26 #set ($columns = ['affiliation', 'URL', "content", "tags", "tags", "tags", "doc.date", '_actions']) 27 27 #livetable('research_groups' $columns $columnsProperties $options)
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -56,7 +56,7 @@ 56 56 57 57 row.affiliation = a.outerHTML; 58 58 59 - row.doc_date = row.doc_date.split(" ")[0]; 59 + row.doc_date = row.doc_date.split(" ")[0].split("/").slice(0, 2).join("/"); 60 60 61 61 // tags 62 62 const tags = new Set(row.tags_value.slice(1, -1).split(", "));