Skip to content

Commit

Permalink
tweak(CRM): productCombo search by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Mar 11, 2024
1 parent a5a96db commit f7a0379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tine20/Crm/js/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ Tine.Crm.Product.GridPanel = Ext.extend(Ext.grid.EditorGridPanel, {
productsStore: this.store,
blurOnSelect: true,
recordClass: Tine.Sales.Model.Product,
sortBy: 'name',
sortDir: 'ASC',
getValue: function() {
return this.selectedRecord ? this.selectedRecord.data : null;
},
Expand Down

0 comments on commit f7a0379

Please sign in to comment.