Change comment:
Added creation date column and sort by creation date by default
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. SilviaRusu1 +XWiki.VincentMassol - Content
-
... ... @@ -45,16 +45,19 @@ 45 45 {{/info}} 46 46 47 47 {{velocity}} 48 -#set($columns = ["_images", "Project", "Organization", "Usage"]) 48 +#set($columns = ["_images", "Project", "Organization", "Usage", "doc.creationDate"]) 49 49 #set($columnsProperties = { 50 50 "_images" : { "type" : "none", "link" : "view", "html" : "true", "sortable":false }, 51 51 "Project" : { "type" : "text" , "link" : "view"}, 52 52 "Organization" : { "type" : "text", "link" : "none"}, 53 - "Usage" : { "type" : "text", "link" : "none" } 53 + "Usage" : { "type" : "text", "link" : "none" }, 54 + "doc.creationDate" : { "type" : "date" } 54 54 }) 55 55 #set($options = { 56 56 "className":"XWiki.ReferenceClass", 57 57 "translationPrefix" : "references.", 59 + "selectedColumn" : "doc.creationDate", 60 + "defaultOrder" : "desc", 58 58 "tagCloud" : true, 59 59 "rowCount": 15 60 60 })