force empty value for the default 'Any' option to avoid using the option text as...
authorberick <berick@esilibrary.com>
Sat, 30 Apr 2011 21:28:02 +0000 (17:28 -0400)
committerberick <berick@esilibrary.com>
Sat, 30 Apr 2011 21:28:02 +0000 (17:28 -0400)
Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2

index a78edfd..cfcd9a0 100644 (file)
@@ -6,7 +6,7 @@
     size ? (' size="' _ size _ '"') : ''; %]>
 [%  all_values = ctx.search_ccvm('ctype', attr);
 IF none_ok %]
-    <option>[% l('-- Any --') %]</option>
+    <option value=''>[% l('-- Any --') %]</option>
 [% END;
 FOR o IN all_values;
    |l(o.value) %]