Sorting search results works now. Added a button to clear the search and submit the form.
This commit is contained in:
parent
712d4b8309
commit
44ea49b06c
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue