Sorting search results works now. Added a button to clear the search and submit the form.

This commit is contained in:
Colin Kuskie 2009-07-15 17:46:47 +00:00
parent 712d4b8309
commit 44ea49b06c
3 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,7 @@ WebGUI.AssetHistory.BuildQueryString = function ( state, dt ) {
+ ';sortDir=' + ((state.sortedBy.dir === YAHOO.widget.DataTable.CLASS_DESC) ? "DESC" : "ASC")
+ ';results=' + state.pagination.rowsPerPage
+ ';sortKey=' + state.sortedBy.key
+ ';keywords=' + YAHOO.util.Dom.get('keywordsField').value
;
return query;
};