Commit 9fa3e1d6 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[FEATURE] add sorting by crdate and add link to listview

parent 6ad26048
......@@ -23,6 +23,7 @@ use TYPO3\CMS\Extbase\Persistence\QueryInterface;
class DonationRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
protected $defaultOrderings = array(
'date' => QueryInterface::ORDER_DESCENDING
'crdate' => QueryInterface::ORDER_DESCENDING,
'date' => QueryInterface::ORDER_DESCENDING,
......@@ -20,7 +20,16 @@
<f:for each="{paginatedDonations}" as="donation">
<f:if condition="{donation.url}">
<f:link.external uri="{donation.url}">{}</f:link.external>
<f:format.currency currencySign="{donation.currency}" decimalSeparator="."
thousandsSeparator="," prependCurrency="true">{donation.amount}
......@@ -34,4 +43,4 @@
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment