mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Merge pull request #1421 from corubba/feature/sorting
Sort records label-wise right to left
This commit is contained in:
commit
f5ddcc5809
@ -202,6 +202,17 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
targets: [5]
|
targets: [5]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
targets: [0],
|
||||||
|
className: "text-right",
|
||||||
|
data: {
|
||||||
|
'_': "0",
|
||||||
|
'sort': function (row, _type, _set, _meta) {
|
||||||
|
const data = row[0] || '';
|
||||||
|
return data.split('.').reverse().join('.');
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
{% if domain.type != 'Slave' %}
|
{% if domain.type != 'Slave' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user