From: Jonathan Druart Date: Thu, 5 Apr 2012 08:13:41 +0000 (+0200) Subject: Bug 5742: Followup: sort* fields can to be filled with an input text X-Git-Tag: v3.10.01~1074 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=b35d34e2ae4713c1f2f524ac565e2623e9f5243a;p=koha_ffzg Bug 5742: Followup: sort* fields can to be filled with an input text Signed-off-by: Paul Poulain --- diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index 309ad60650..50bb668d68 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, }