Author: david
Date: Wed Oct 12 16:24:31 2011
New Revision: 10047

Log:
Add text to clarify that dates are sorted in reverse chronological order

Modified:
   trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php 
Wed Oct 12 16:17:20 2011        (r10046)
+++ trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php 
Wed Oct 12 16:24:31 2011        (r10047)
@@ -41,7 +41,7 @@
       case 'sortBy':
         $choices = array(
           'title' => $this->context->i18n->__('Title'),
-          'startDate' => $this->context->i18n->__('Date'),
+          'startDate' => $this->context->i18n->__('Date (most recent first)'),
           'locations' => $this->context->i18n->__('Location'),
           'referenceCode' => $this->context->i18n->__('Reference code'),
         );
@@ -126,7 +126,7 @@
             'referenceCode' => $isad->referenceCode,
             'title' => $item->getTitle(array('cultureFallback' => true)),
             'dates' => (isset($creationDates)) ? 
Qubit::renderDateStartEnd($creationDates->getDate(array('cultureFallback' => 
true)), $creationDates->startDate, $creationDates->endDate) : ' ',
-            'startDate' => (isset($creationDates)) ? $creationDates->startDate 
: ' ',
+            'startDate' => (isset($creationDates)) ? $creationDates->startDate 
: null,
             'accessConditions' => 
$item->getAccessConditions(array('cultureFallback' => true)),
             'locations' => self::getLocationString($item)
           );

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to