[interchange] UI: allow mv_min_string parameter to work with flex_select
Josh Lavin <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 662dc2e5e831f44ba8fceeffaca12d8c95cd32af Author: Josh Lavin <[email protected]> Date: Wed Mar 19 08:43:51 2014 -0700 UI: allow mv_min_string parameter to work with flex_select code/UI_Tag/flex_select.coretag | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) --- diff --git a/code/UI_Tag/flex_select.coretag b/code/UI_Tag/flex_select.coretag index 94467c2..2ccfa0e 100644 --- a/code/UI_Tag/flex_select.coretag +++ b/code/UI_Tag/flex_select.coretag @@ -460,7 +460,8 @@ EOF else { $CGI->{ui_text_qualification} .= "bs=0\nsu=0\n"; } - if(length($s) > 1) { + my $ms = defined $CGI->{mv_min_string} ? $CGI->{mv_min_string} : 1; + if(length($s) > $ms) { $CGI->{ui_text_qualification} .= "se=$s\nsf=$f\nop=$op\n"; } else {