accidental copy and pasta!
plugin: portals list - fix for changes to Niantc data Issue #668
This commit is contained in:
parent
7a12681fab
commit
18bacd956a
@ -132,7 +132,7 @@ window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
||||
//Array sort
|
||||
window.plugin.portalslist.listPortals.sort(function(a, b) {
|
||||
var retVal = 0;
|
||||
switch (sortBy) { win
|
||||
switch (sortBy) {
|
||||
case 'names':
|
||||
retVal = a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1;
|
||||
break;
|
||||
@ -165,7 +165,7 @@ window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
||||
|
||||
html += '<td style="cursor:help" title="'+ portal.health +'">' + portal.health + '</td>'
|
||||
+ '<td>' + portal.resCount + '</td>'
|
||||
+ '<td>' + portal.linkCount + '</td>'
|
||||
+ '<td title="In: ' + portal.link.in.length + ' Out: ' + portal.link.out.length + '">' + portal.linkCount + '</td>'
|
||||
+ '<td>' + portal.fieldCount + '</td>';
|
||||
|
||||
html+= '</tr>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user