diff --git a/saltgui/static/sorttable/sorttable.js b/saltgui/static/sorttable/sorttable.js index 01bf012e3..4b96f2065 100644 --- a/saltgui/static/sorttable/sorttable.js +++ b/saltgui/static/sorttable/sorttable.js @@ -137,6 +137,7 @@ export class SortTable { if (node.nodeName.toLowerCase() === 'input') { return node.value.replace(/^\s+|\s+$/g, ''); } + return node.nodeValue.replace(/^\s+|\s+$/g, ''); case 4: return node.nodeValue.replace(/^\s+|\s+$/g, ''); case 1: