Changes for page People in ErUM-Data

Last modified by Benjamin Fischer on 2025/03/26 13:22

From version 30.2
edited by admin
on 2024/10/23 14:42
Change comment: There is no comment for this version
To version 29.8
edited by admin
on 2024/10/23 14:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,7 +11,6 @@
11 11   'URL': {"type": "hidden"},
12 12   "content": {"type": "hidden"},
13 13   "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol"},
14 - "doc.date": {"filterable": false, "displayName": "Last Updated"},
15 15   '_actions': {"actions":["view","edit"]}
16 16  })
17 17  #set ($options = {
... ... @@ -20,9 +20,9 @@
20 20   'tagCloud': true,
21 21   'rowCount': 15,
22 22   'maxPages': 10,
23 - 'selectedColumn': 'doc.date',
22 + 'selectedColumn': 'affiliation',
24 24   'defaultOrder': 'asc'
25 25  })
26 -#set ($columns = ['affiliation', 'URL', "content", "tags", "tags", "tags", "doc.date", '_actions'])
25 +#set ($columns = ['affiliation', 'URL', "content", "tags", "tags", "tags", '_actions'])
27 27  #livetable('research_groups' $columns $columnsProperties $options)
28 28  {{/velocity}}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -55,9 +55,8 @@
55 55   }
56 56  
57 57   row.affiliation = a.outerHTML;
58 + delete a;
58 58  
59 - row.doc_date = row.doc_date.replace("/", "-");
60 -
61 61   // tags
62 62   const tags = new Set(row.tags_value.slice(1, -1).split(", "));
63 63   tagCols.forEach(([name, ...want], i) =>