Fixed a cross-Matrix linking problem when you have two or more Matricies on
one site with the same category names.
This commit is contained in:
parent
63972bab6d
commit
b5d749f6d2
2 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,8 @@
|
|||
- fix: Data Form Text Area Box Non-Existent (Wouter van Oijen / ProcoliX)
|
||||
- Added an error message to the FileUrl macro to help users figure out why it
|
||||
doesn't work.
|
||||
- Fixed a cross-Matrix linking problem when you have two or more Matricies on
|
||||
one site with the same category names.
|
||||
|
||||
|
||||
7.0.2
|
||||
|
|
|
|||
|
|
@ -1187,7 +1187,7 @@ sub www_viewDetail {
|
|||
$var{compares} = $listing->{compares};
|
||||
$var{clicks} = $listing->{clicks};
|
||||
my $sth = $self->session->db->read("select a.value, b.name, b.label, b.description, category from Matrix_listingData a left join
|
||||
Matrix_field b on a.fieldId=b.fieldId where listingId=".$self->session->db->quote($listingId)." order by b.label");
|
||||
Matrix_field b on a.fieldId=b.fieldId and b.assetId=? where listingId=? order by b.label",[$self->getId, $listingId]);
|
||||
while (my $data = $sth->hashRef) {
|
||||
$data->{description} =~ s/\n//g;
|
||||
$data->{description} =~ s/\r//g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue