[BUGFIX] Use correct variables of sys_note records 84/55984/2
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 2 Mar 2018 09:37:05 +0000 (10:37 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 2 Mar 2018 11:45:01 +0000 (12:45 +0100)
Since the removal of the models the field names of the database
must be used.

Resolves: #84113
Releases: master
Change-Id: I2d472b27455fdf37e418e9135dee81eeb8f125b0
Reviewed-on: https://review.typo3.org/55984
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/sys_note/Resources/Private/Templates/Note/List.html

index 19b6bdb..c5e2e77 100644 (file)
                                                <f:translate key="author" />
                                                <f:if condition="{note.realName}">
                                                        <f:then>{note.realName}</f:then>
-                                                       <f:else>{note.userName}</f:else>
+                                                       <f:else>{note.username}</f:else>
                                                </f:if>
                                        </span>
                                        &nbsp; <span>&bull;</span> &nbsp;
                                        <span class="date">
                                                <f:translate key="date" />
-                                               <f:format.date>{note.modificationDate}</f:format.date>
+                                               <f:format.date>@{note.tstamp}</f:format.date>
                                        </span>
                                        <f:if condition="{note.personal}">
                                                &middot;