[BUGFIX] Ranking of a file may be 0 16/44216/2
authorXavier Perseguers <xavier@typo3.org>
Thu, 22 Oct 2015 09:37:13 +0000 (11:37 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 22 Oct 2015 09:57:22 +0000 (11:57 +0200)
No ranking is not the same as 1 star value.

Change-Id: Ia53d99c7999d7a1fe59425bd390615872fa897c4
Resolves: #70900
Releases: master
Reviewed-on: https://review.typo3.org/44216
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php

index 9467f57..dff71f9 100644 (file)
@@ -283,6 +283,7 @@ $tca = array(
                 'minitems' => 1,
                 'maxitems' => 1,
                 'items' => array(
+                    array(0, 0),
                     array(1, 1),
                     array(2, 2),
                     array(3, 3),