From 1a07f274f5fb5bbf9950f7afccf367d996e666cb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Apr 2012 10:13:41 +0200 Subject: [PATCH 2/2] Bug 5742: Followup: sort* fields can to be filled with an input text --- tools/modborrowers.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index aa73654..9554cf3 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -186,7 +186,7 @@ if ( $op eq 'show' ) { { name => "sort1", lib => "Sort 1", - type => "select", + type => @sort1_option ? "select" : "text", option => \@sort1_option, mandatory => ( grep /sort1/, @mandatoryFields ) ? 1 : 0, } @@ -194,7 +194,7 @@ if ( $op eq 'show' ) { { name => "sort2", lib => "Sort 2", - type => "select", + type => @sort2_option ? "select" : "text", option => \@sort2_option, mandatory => ( grep /sort2/, @mandatoryFields ) ? 1 : 0, } -- 1.7.7.3