cloudstack/ui/scripts/ui/widgets
Anurag Awasthi 4185452366 ui: Fix sorting bug in UI Code (#3445)
Current master has sorting broken and the order reverses as opposed to
what is set if sortkey.algorithm is set to true. The problem lies in the
way the update APIs were being called by the UI. The code was agnostic
to a global config that backend uses to set the order of the entities
in the corresponding list APIs.

We need to make UI aware of the global config and instead of changing
sign of sort key pass proper numbers so that DB isn't confusing when
some tables have positive sortkey and some have negative.

The fix is in 2 steps-
1) Make use of sortkey name in place where it's relevant. Mere row index
is not sufficient.
2) Reverse the sortkey if we are sorting by descending (when global
config is false)
2019-07-02 12:53:10 +05:30
..
cloudBrowser.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
dataTable.js ui: Fix ip and ip cidr column sorting in tables (#3199) 2019-05-27 18:09:56 +05:30
detailView.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
listView.js ui: Fix sorting bug in UI Code (#3445) 2019-07-02 12:53:10 +05:30
multiEdit.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
notifications.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
overlay.js Format JS 2013-07-18 12:34:20 -04:00
tagger.js api: snapshot, snapshotpolicy tag support (#3228) 2019-06-27 09:21:08 +05:30
toolTip.js Improvements after jquery update (#3183) 2019-04-25 16:09:43 -03:00
treeView.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00