When the matrix displays search results, only show those that match. Previously,
it displayed all the products, with those that matched having checked boxes.
This commit is contained in:
parent
750adbf4d5
commit
a6bb64613e
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.17
|
||||
- fixed #10765: Matrix displays all products when searching
|
||||
- fixed #10764: Matrix i18n: hitting compare button says I have 1 item selected.
|
||||
- fixed #10763: Matrix: Search button doesn't work.
|
||||
- fixed #10761: Two i18n issues on LDAP page
|
||||
|
|
|
|||
|
|
@ -1172,7 +1172,7 @@ sub www_getCompareFormData {
|
|||
my @results;
|
||||
if($form->process("search")){
|
||||
if ($searchParamList){
|
||||
foreach my $result (@{$self->getListings}) {
|
||||
RESULT: foreach my $result (@{$self->getListings}) {
|
||||
my $matrixListing_attributes = $session->db->buildHashRefOfHashRefs("
|
||||
select value, fieldType, attributeId from Matrix_attribute
|
||||
left join MatrixListing_attribute as listing using(attributeId)
|
||||
|
|
@ -1195,7 +1195,7 @@ sub www_getCompareFormData {
|
|||
}
|
||||
}
|
||||
$result->{assetId} =~ s/-/_____/g;
|
||||
push @results, $result;
|
||||
push @results, $result if $result->{checked} eq 'checked';
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue