From d77bf9609380d27301abeba31e467039517cb8d5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 5 Feb 2014 19:56:42 +0000 Subject: Fix issues with tablesorter sorting --- weblog-viewweblog-html.lsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'weblog-viewweblog-html.lsp') diff --git a/weblog-viewweblog-html.lsp b/weblog-viewweblog-html.lsp index 8841bde..061d8b0 100644 --- a/weblog-viewweblog-html.lsp +++ b/weblog-viewweblog-html.lsp @@ -80,7 +80,7 @@ end } $(function(){ - $("#loglist").tablesorter({headers: {0:{sorter: false}, 1:{sorter: 'text'}, 5:{sorter: false}, 6:{sorter: false}, 7:{sorter: false}}, widgets: ['zebra']}); + $("#loglist").tablesorter({headers: {0:{sorter: false}, 1:{sorter: 'text'}}, widgets: ['zebra']}); $('#chkHead').click(clickhead); $('.chktbl').click(clicktable); <% if data.value.focus.value ~= "" then %> @@ -188,9 +188,9 @@ end %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientip) %> style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientuserid) %> <%= html.html_escape(watch.bytes) %> - <% if watch.badyesno ~= "0" then %><% end %> - <% if watch.deniedyesno ~= "0" then %> <% end %> - <% if watch.bypassyesno ~= "0" then %> <% end %> + <%= html.html_escape(watch.badyesno) %><% if watch.badyesno ~= "0" then %><% end %> + <%= html.html_escape(watch.deniedyesno) %><% if watch.deniedyesno ~= "0" then %> <% end %> + <%= html.html_escape(watch.bypassyesno) %><% if watch.bypassyesno ~= "0" then %> <% end %> <%= html.html_escape(watch.score) %> title="<%= html.html_escape(watch.reason) %>"<% end %>> <% if (watch.shortreason and watch.shortreason ~= "") then %> -- cgit v1.2.3