From f7a03799601e7cfc9d2393ae57945877e4e1415c Mon Sep 17 00:00:00 2001 From: Christian Feitl Date: Fri, 8 Mar 2024 10:25:03 +0100 Subject: [PATCH] tweak(CRM): productCombo search by name --- tine20/Crm/js/Product.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tine20/Crm/js/Product.js b/tine20/Crm/js/Product.js index 01608fbafe0..f987439b44e 100644 --- a/tine20/Crm/js/Product.js +++ b/tine20/Crm/js/Product.js @@ -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; },