Commit 1978151c authored by Dietmar Maurer's avatar Dietmar Maurer

add ability to sort Diffstore

parent 37c5a8f9
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
Ext.define('PVE.data.DiffStore', { Ext.define('PVE.data.DiffStore', {
extend: 'Ext.data.Store', extend: 'Ext.data.Store',
sortAfterUpdate: false,
constructor: function(config) { constructor: function(config) {
var me = this; var me = this;
...@@ -69,6 +71,10 @@ Ext.define('PVE.data.DiffStore', { ...@@ -69,6 +71,10 @@ Ext.define('PVE.data.DiffStore', {
me.filter(); me.filter();
if (me.sortAfterUpdate) {
me.sort();
}
first_load = false; first_load = false;
me.resumeEvents(); me.resumeEvents();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment