Changes for page ユーザープロフィール
Last modified by Super Admin on 2026/03/22 00:39
From version
21.1
edited by Super Admin
on 2026/03/10 21:30
on 2026/03/10 21:30
Change comment:
There is no comment for this version
To version
24.1
edited by Super Admin
on 2026/03/12 12:20
on 2026/03/12 12:20
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -144,7 +144,7 @@ 144 144 == このユーザーの投稿・編集履歴 == 145 145 146 146 {{velocity}} 147 -#set($query = $services.query.xwql("where doc.author = '${targetUser}'order by doc.date desc"))147 +#set($query = $services.query.xwql("where doc.author = :author order by doc.date desc").bindValue('author', $targetUser)) 148 148 #set($query = $query.setLimit(20)) 149 149 #set($results = $query.execute()) 150 150 ... ... @@ -152,7 +152,7 @@ 152 152 |=ページ|=日時 153 153 #foreach($docName in $results) 154 154 #set($actDoc = $xwiki.getDocument($docName)) 155 -|[[$actDoc.title>>$docName]]|$ xwiki.formatDate($actDoc.date,"yyyy/MM/dd HH:mm")155 +|[[$actDoc.title>>$docName]]|$datetool.format("yyyy/MM/dd HH:mm", $actDoc.date) 156 156 #end 157 157 #else 158 158 //このユーザーの公開投稿はまだありません。//