[Bps-public-commit] App-Changeloggr branch, master, updated. a43facbb8655861256b19dcf283a3d356942068f
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 27 15:06:19 EDT 2009
The branch, master has been updated
via a43facbb8655861256b19dcf283a3d356942068f (commit)
from 0e88a7742479e592a8934449abe4456d76656522 (commit)
Summary of changes:
lib/App/Changeloggr/Model/Change.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit a43facbb8655861256b19dcf283a3d356942068f
Author: Shawn M Moore <sartak at gmail.com>
Date: Mon Jul 27 15:05:51 2009 -0400
Need to include all the columns we look at to use group by
diff --git a/lib/App/Changeloggr/Model/Change.pm b/lib/App/Changeloggr/Model/Change.pm
index 613e5d3..5c7779d 100644
--- a/lib/App/Changeloggr/Model/Change.pm
+++ b/lib/App/Changeloggr/Model/Change.pm
@@ -140,9 +140,9 @@ sub prioritized_tags {
value => $self->id,
);
- # In order to pull out the hotkey, we need to group by it in Postgres
+ # In order to pull out these columns, we need to group by it in Postgres
$tags->group_by(
- function => 'main.text,main.hotkey',
+ function => 'main.id,main.changelog_id,main.text,main.hotkey,main.tooltip,main.description',
);
$tags->order_by(
function => "count($votes.tag)",
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list