From 5f04c5c49df9549d3bb1a4d0650dc799cc3fcf5a Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Tue, 6 Feb 2007 20:16:16 +0000 Subject: [PATCH] fix - multiple matrix sharing features --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/Matrix.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c8eb57206..62bd8138c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -61,6 +61,7 @@ - fix: SQL Report download template (perlDreamer Consulting, LLC) - fix: Ignoring shortcut overrides. - fix: Calendar feeds not working. + - fix: multiple matrix sharing features 7.3.8 - Fixed a template variable rewriting problem with HTML::Template::Expr diff --git a/lib/WebGUI/Asset/Wobject/Matrix.pm b/lib/WebGUI/Asset/Wobject/Matrix.pm index dd8b799a2..fb7eddaed 100644 --- a/lib/WebGUI/Asset/Wobject/Matrix.pm +++ b/lib/WebGUI/Asset/Wobject/Matrix.pm @@ -317,7 +317,7 @@ sub www_compare { .$tableCount.".fieldId and ".$tableCount.".listingId=".$self->session->db->quote($cms); $tableCount++; } - my $sth = $self->session->db->read("$select $from where a.category=".$self->session->db->quote($category)." order by a.label"); + my $sth = $self->session->db->read("$select $from where a.category=".$self->session->db->quote($category)." and a.assetId=".$self->session->db->quote($self->getId)." order by a.label"); while (my @row = $sth->array) { my @columnloop; my $first = 1;