mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-30 00:46:16 +00:00
add ability to sort Diffstore
This commit is contained in:
parent
e877877f5e
commit
71e43f5b3c
@ -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', {
|
|||||||
|
|
||||||
me.filter();
|
me.filter();
|
||||||
|
|
||||||
|
if (me.sortAfterUpdate) {
|
||||||
|
me.sort();
|
||||||
|
}
|
||||||
|
|
||||||
first_load = false;
|
first_load = false;
|
||||||
|
|
||||||
me.resumeEvents();
|
me.resumeEvents();
|
||||||
|
Loading…
Reference in New Issue
Block a user