Hi,

On 22 January 2014 11:11, Gerry O'Brien <ge...@scss.tcd.ie> wrote:

> Hi,
>
>     Can the ability to sort Virtual Machines in IP order in the Sunstone
> GUI be restored. It was available in version 3 and was very useful.
>
>
You can achieve this, applying the following patch:

diff --git a/src/sunstone/public/js/plugins/vms-tab.js
b/src/sunstone/public/js/plugins/vms-tab.js
index 2741840..69d73fd 100644
--- a/src/sunstone/public/js/plugins/vms-tab.js
+++ b/src/sunstone/public/js/plugins/vms-tab.js
@@ -3522,7 +3522,7 @@ $(document).ready(function(){
     if (Config.isTabEnabled(tab_name)) {
       dataTable_vMachines =
$("#datatable_vmachines",main_tabs_context).dataTable({
           "aoColumnDefs": [
-              { "bSortable": false, "aTargets": ["check",6,7,9,11] },
+              { "bSortable": false, "aTargets": ["check",6,7,11] },
               { "sWidth": "35px", "aTargets": [0] },
               { "bVisible": true, "aTargets":
Config.tabTableColumns(tab_name)},
               { "bVisible": false, "aTargets": ['_all']},


Cheers


--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to