PartStore.js (727B)
1 Ext.define("PartKeepr.Data.Store.PartStore", { 2 extend: "PartKeepr.Data.Store.BaseStore", 3 4 alias: 'store.PartStore', 5 model: "PartKeepr.PartBundle.Entity.Part", 6 7 autoLoad: true, 8 9 pageSize: 50, 10 groupField: 'categoryPath', 11 12 searchFieldSystemPreference: "partkeepr.part.search.field", 13 searchFieldSystemPreferenceDefaults: ["name", "description", "comment", "internalPartNumber"], 14 splitSearchTermSystemPreference: "partkeepr.part.search.split", 15 splitSearchTermSystemPreferenceDefaults: true, 16 17 sorters: [ 18 { 19 property: 'category.categoryPath', 20 direction: 'ASC' 21 }, 22 { 23 property: 'name', 24 direction: 'ASC' 25 } 26 ] 27 });