Index: apps/pc_frontend/modules/ashiato/templates/listSuccess.php
===================================================================
--- apps/pc_frontend/modules/ashiato/templates/listSuccess.php (リビジョン 13533)
+++ apps/pc_frontend/modules/ashiato/templates/listSuccess.php (作業コピー)
@@ -10,7 +10,7 @@
$count)) ?>
getResults() as $ashiato) : ?>
- - updated_at, 'XDateTimeJaBr'); ?>
+
- ua, 'XDateTimeJaBr'); ?>
Member_2->name, 'member/profile?id=' . $ashiato->Member_2->id); ?>
Index: apps/mobile_frontend/modules/ashiato/templates/listSuccess.php
===================================================================
--- apps/mobile_frontend/modules/ashiato/templates/listSuccess.php (リビジョン 13533)
+++ apps/mobile_frontend/modules/ashiato/templates/listSuccess.php (作業コピー)
@@ -9,7 +9,7 @@
getResults() as $ashiato) : ?>
-updated_at, 'XDateTime'); ?>
+ua, 'XDateTime'); ?>
Member_2->name, 'member/profile?id=' . $ashiato->Member_2->id); ?>
|
Index: lib/model/doctrine/PluginAshiatoTable.class.php
===================================================================
--- lib/model/doctrine/PluginAshiatoTable.class.php (リビジョン 13533)
+++ lib/model/doctrine/PluginAshiatoTable.class.php (作業コピー)
@@ -32,12 +32,12 @@
$q = $this->createQuery()
->select('*')
- ->addSelect('MAX(updated_at) as updated_at')
+ ->addSelect('MAX(updated_at) as ua')
->where('member_id_to = ?', $memberId)
->whereIn('r_date', $day_list)
->groupBy('member_id_from')
->groupBy('r_date')
- ->orderBy('updated_at DESC');
+ ->orderBy('ua DESC');
$pager = new sfDoctrinePager('Ashiato', $size);
$pager->setQuery($q);