From 9c9f59ac5227f0f434133c7f199fda33fa62f7a5 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 21 Nov 2012 22:53:55 +0100 Subject: [PATCH] fixed a sorting bug in webui popup window --- webui/view/javascript/piler.js | 6 ++++++ 1 file changed, 6 insertions(+) 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; }