mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 12:06:06 +00:00
Use natural sort for domain records.
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}<title>DNS Control Panel - DOMAIN</title>{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<!-- DataTables Natural Sort -->
|
||||
<script src="{{ url_for('static', filename='adminlte2/plugins/datatables/extensions/NaturalSort/natural.js.min') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block dashboard_stat %}
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@ -143,7 +148,10 @@
|
||||
"language": {
|
||||
"lengthMenu": " _MENU_ records"
|
||||
},
|
||||
"retrieve" : true
|
||||
"retrieve" : true,
|
||||
"columnDefs": [
|
||||
{ type: 'natural', targets: [0, 4] }
|
||||
]
|
||||
});
|
||||
|
||||
// handle delete button
|
||||
|
Reference in New Issue
Block a user