From dd893da1e6898d20f006c40333a92c60b57e378c Mon Sep 17 00:00:00 2001 From: Mark Daugherty Date: Thu, 9 Feb 2017 10:18:28 -0500 Subject: [PATCH] search fix. --- pom.xml | 2 +- .../jcr_root/etc/groovyconsole/clientlibs/js/audit.js | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 2536f493..cfa0b44b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.citytechinc.aem.groovy.console aem-groovy-console jar - 8.0.4 + 8.0.5 AEM Groovy Console The AEM Groovy Console provides an interface for running Groovy scripts in the AEM (Adobe CQ) container. Scripts diff --git a/src/main/content/jcr_root/etc/groovyconsole/clientlibs/js/audit.js b/src/main/content/jcr_root/etc/groovyconsole/clientlibs/js/audit.js index d870628f..4caeecf3 100644 --- a/src/main/content/jcr_root/etc/groovyconsole/clientlibs/js/audit.js +++ b/src/main/content/jcr_root/etc/groovyconsole/clientlibs/js/audit.js @@ -13,9 +13,12 @@ GroovyConsole.Audit = function () { data: null, defaultContent: '' }, - { data: 'date' }, { - data: 'scriptPreview', + data: 'date', + searchable: false + }, + { + data: 'script', orderable: false }, { @@ -25,6 +28,7 @@ GroovyConsole.Audit = function () { { className: 'delete-record', orderable: false, + searchable: false, data: null, defaultContent: '' } @@ -40,7 +44,7 @@ GroovyConsole.Audit = function () { }, rowCallback: function (row, data) { $('td:eq(1)', row).html('' + data.date + ''); - $('td:eq(2)', row).html('' + data.scriptPreview + ''); + $('td:eq(2)', row).html('' + data.scriptPreview + ''); $('td:eq(2)', row).popover({ container: 'body', content: '
' + data.script + '
',