Skip to content

Commit

Permalink
Merge pull request #298 in PLUG_OPEN/backend_swagimportexport from fe…
Browse files Browse the repository at this point in the history
…ature/pt-7190/change-combo-sorting to next

* commit '19bf59d738cbaac843a0c5ea586a40a07bb14f0d':
  PT-7190 - Change combo sorting
  • Loading branch information
mitelg committed Feb 1, 2017
2 parents dfd8bee + 19bf59d commit 0f45938
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Views/backend/swag_import_export/view/profile/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ Ext.define('Shopware.apps.SwagImportExport.view.profile.Window', {

me.profileStore = Ext.create('Shopware.apps.SwagImportExport.store.ProfileList', {
pageSize: 200,
autoLoad: true
autoLoad: true,
sorters: [
{ property: 'name', direction: 'ASC' }
]
});

me.items = me.buildItems();
Expand Down Expand Up @@ -126,7 +129,7 @@ Ext.define('Shopware.apps.SwagImportExport.view.profile.Window', {
getInnerTpl: function () {
return Ext.XTemplate(
'{literal}' +
'<tpl if="translation">{ translation } <i>({ name })</i>' +
'<tpl if="translation">{ name } <i>({ translation })</i>' +
'<tpl else>{ name }</tpl>' +
'{/literal}'
);
Expand Down

0 comments on commit 0f45938

Please sign in to comment.