Commit bba64306 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix for issue #228; need to force a text sort. This closes #228.

parent 829da1cd
...@@ -23,15 +23,24 @@ $(function () ...@@ -23,15 +23,24 @@ $(function ()
var tablename = "#tablesorter_" + name; var tablename = "#tablesorter_" + name;
var searchname = "#experiment_search_" + name; var searchname = "#experiment_search_" + name;
// Watch for just one table.
if (!$(tablename).length) {
return;
}
var table = $(tablename) var table = $(tablename)
.tablesorter({ .tablesorter({
theme : 'green', theme : 'green',
//cssChildRow: "tablesorter-childRow",
// initialize zebra and filter widgets // initialize zebra and filter widgets
widgets: ["zebra", "filter", "resizable"], widgets: ["zebra", "filter", "resizable"],
headers: {
0: {
sorter : "text",
}
},
widgetOptions: { widgetOptions: {
// include child row content while filtering, if true // include child row content while filtering, if true
filter_childRows : true, filter_childRows : true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment