[one-users] Ability to sort Virtual Machines in IP order
Daniel Molina
dmolina at opennebula.org
Wed Jan 22 02:20:12 PST 2014
Hi,
On 22 January 2014 11:11, Gerry O'Brien <gerry at 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 | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140122/f0ae36e8/attachment-0002.htm>
More information about the Users
mailing list