[Bps-public-commit] App-Changeloggr branch, master, updated. 98e0570577720c37439c2fdbf953436d2b4aa81b

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 30 13:24:10 EDT 2009


The branch, master has been updated
       via  98e0570577720c37439c2fdbf953436d2b4aa81b (commit)
      from  838aa65fa06c889337aea2eab52b2d8405fa2e19 (commit)

Summary of changes:
 lib/App/Changeloggr/Model/Changelog.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 98e0570577720c37439c2fdbf953436d2b4aa81b
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Jul 30 13:23:57 2009 -0400

    Show changes in ascending ID order

diff --git a/lib/App/Changeloggr/Model/Changelog.pm b/lib/App/Changeloggr/Model/Changelog.pm
index a9b5d08..47932d6 100644
--- a/lib/App/Changeloggr/Model/Changelog.pm
+++ b/lib/App/Changeloggr/Model/Changelog.pm
@@ -194,7 +194,7 @@ sub choose_change {
     }
 
     $changes->rows_per_page(1);
-    $changes->order_by( column => 'date', order => 'asc' );
+    $changes->order_by(column => 'id', order => 'asc');
     return $changes->first;
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list