diff options
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/page.inc.php | 4 | ||||
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php index cbfbc5f1..9bf0afe4 100644 --- a/modules-available/serversetup-bwlp-ipxe/page.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php @@ -302,8 +302,7 @@ class Page_ServerSetup extends Page LEFT JOIN serversetup_menuentry sme USING (entryid) LEFT JOIN serversetup_menu sm USING (menuid) WHERE be.module <> '.special' - GROUP BY be.entryid, be.title - ORDER BY be.title ASC"); + GROUP BY be.entryid, be.title"); if (empty($bootentryTable)) { if (Property::getServerIp() === false || Property::getServerIp() === 'invalid') { @@ -320,6 +319,7 @@ class Page_ServerSetup extends Page Util::redirect('?do=serversetup&show=bootentry'); } + Module::isAvailable('js_stupidtable'); Render::addTemplate('bootentry-list', array( 'bootentryTable' => $bootentryTable, 'allowEdit' => $allowEdit, diff --git a/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html b/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html index c4018bef..e9b5be18 100644 --- a/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html +++ b/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html @@ -7,12 +7,12 @@ <form method="post" action="?do=serversetup"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="deleteBootentry"> - <table class="table"> + <table class="table stupidtable"> <thead> <tr> - <th>{{lang_entryId}}</th> - <th>{{lang_bootentryType}}</th> - <th>{{lang_bootentryTitle}}</th> + <th data-sort="string">{{lang_entryId}}</th> + <th data-sort="string">{{lang_bootentryType}}</th> + <th data-sort="string" data-sort-onload="yes">{{lang_bootentryTitle}}</th> <th class="small">{{lang_hotkey}}</th> <th class="small slx-smallcol">{{lang_refCount}}</th> <th class="small slx-smallcol">{{lang_edit}}</th> |