Custom path handling for DataTables ajax calls

This commit is contained in:
Eric A. Miller
2014-07-16 20:00:39 -04:00
parent e1e4723c47
commit 0ea6f754b4
7 changed files with 12 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ $(document).ready(function() {
"serverSide": true,
"searching": false,
"order": [[ 0, "desc" ]],
"ajax": '/ajax/content/report/moduleinventory/data?[% url(params('query').hash) %]',
"ajax": "[% uri_for('/ajax/content/report/moduleinventory/data') %]?[% url(params('query').hash) %]",
"columns": [
{
"data": 'ip',