From: phasefx Date: Mon, 31 Jul 2006 21:34:19 +0000 (+0000) Subject: patron search inactive flag X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=57349c89b75ce6e6810f8cba99a848f39f09b563;p=Evergreen.git patron search inactive flag git-svn-id: svn://svn.open-ils.org/ILS/trunk@5199 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/search_form.js b/Open-ILS/xul/staff_client/server/patron/search_form.js index 2bbce28c36..bcc8926d86 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_form.js +++ b/Open-ILS/xul/staff_client/server/patron/search_form.js @@ -184,6 +184,7 @@ patron.search_form.prototype = { }; } ], + 'inactive' : [ ['render'], function(e) { return function() {}; } ], } } ); @@ -217,8 +218,13 @@ patron.search_form.prototype = { } else { query += '&'; } - query += id + '=' + window.escape(node.value); - dump('id = ' + id + ' value = ' + node.value + '\n'); + if (id == 'inactive') { + query += id + '=' + window.escape(node.getAttribute('value')); + dump('id = ' + id + ' value = ' + node.getAttribute('value') + '\n'); + } else { + query += id + '=' + window.escape(node.value); + dump('id = ' + id + ' value = ' + node.value + '\n'); + } } } if (typeof obj.on_submit == 'function') { diff --git a/Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul b/Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul index d9a287dfe2..8535f7b787 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul @@ -30,6 +30,13 @@ + + + + +