Fixed Matrix alpha numeric sort direction, changed default sort to alpa numeric
This commit is contained in:
parent
9e1b9d2f49
commit
15b29252ed
2 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
7.7.2
|
||||
- fixed #9955: Matrix alpha sort is backwards
|
||||
- fixed #9934: Matrix 2.0 - Products should be listed alphabetically
|
||||
|
||||
7.7.1
|
||||
- the AdSku project: create a Sku that allows buyers to purchase advertising in select AdSpaces at selected priorities
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ sub definition {
|
|||
lineage => $i18n->get('sort by asset rank label'),
|
||||
lastUpdated => $i18n->get('sort by last updated label'),
|
||||
},
|
||||
defaultValue =>"score",
|
||||
defaultValue =>"title",
|
||||
hoverHelp =>$i18n->get('default sort description'),
|
||||
label =>$i18n->get('default sort label'),
|
||||
},
|
||||
|
|
@ -1010,6 +1010,9 @@ sub www_getCompareFormData {
|
|||
my $form = $session->form;
|
||||
my $sort = shift || $session->scratch->get('matrixSort') || $self->get('defaultSort');
|
||||
my $sortDirection = ' desc';
|
||||
if ($sort eq 'title'){
|
||||
$sortDirection = ' asc';
|
||||
}
|
||||
|
||||
my @listingIds = $session->form->checkList("listingId");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue