fixed #9953: Matrix 2.0 - Not enough tests
This commit is contained in:
parent
52b8143707
commit
be430dfdd2
3 changed files with 75 additions and 28 deletions
|
|
@ -770,7 +770,9 @@ sub view {
|
|||
assetData.title as productName,
|
||||
assetData.url,
|
||||
rating.listingId,
|
||||
rating.meanValue,
|
||||
rating.meanValue,
|
||||
rating.medianValue,
|
||||
rating.countValue,
|
||||
asset.parentId
|
||||
from
|
||||
MatrixListing_ratingSummary as rating
|
||||
|
|
@ -1236,12 +1238,15 @@ An array of listingIds that should be shown in the compare list datatable.
|
|||
sub www_getCompareListData {
|
||||
|
||||
my $self = shift;
|
||||
my @listingIds = @_;
|
||||
my $listingIds = shift;
|
||||
my $session = $self->session;
|
||||
my $i18n = WebGUI::International->new($session,'Asset_Matrix');
|
||||
my (@results,@columnDefs);
|
||||
my (@results,@columnDefs,@listingIds);
|
||||
|
||||
unless (scalar(@listingIds)) {
|
||||
if ($listingIds) {
|
||||
@listingIds = @{$listingIds};
|
||||
}
|
||||
else{
|
||||
@listingIds = $self->session->form->checkList("listingId");
|
||||
}
|
||||
my @responseFields = ("attributeId", "name", "description","fieldType", "checked");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue