diff --git a/webui/view/javascript/piler.js b/webui/view/javascript/piler.js index 7fafa622..3c99fa29 100644 --- a/webui/view/javascript/piler.js +++ b/webui/view/javascript/piler.js @@ -330,9 +330,15 @@ function assemble_search_term(n) { function fix_search_order(sort, order) { var a; + a = document.getElementById('xsort'); + if(a) a.value = sort; + a = document.getElementById('sort'); a.value = sort; + a = document.getElementById('xorder'); + if(a) a.value = order; + a = document.getElementById('order'); a.value = order; }