Lines 186-192
if ( $op eq 'show' ) {
Link Here
|
186 |
{ |
186 |
{ |
187 |
name => "sort1", |
187 |
name => "sort1", |
188 |
lib => "Sort 1", |
188 |
lib => "Sort 1", |
189 |
type => "select", |
189 |
type => @sort1_option ? "select" : "text", |
190 |
option => \@sort1_option, |
190 |
option => \@sort1_option, |
191 |
mandatory => ( grep /sort1/, @mandatoryFields ) ? 1 : 0, |
191 |
mandatory => ( grep /sort1/, @mandatoryFields ) ? 1 : 0, |
192 |
} |
192 |
} |
Lines 194-200
if ( $op eq 'show' ) {
Link Here
|
194 |
{ |
194 |
{ |
195 |
name => "sort2", |
195 |
name => "sort2", |
196 |
lib => "Sort 2", |
196 |
lib => "Sort 2", |
197 |
type => "select", |
197 |
type => @sort2_option ? "select" : "text", |
198 |
option => \@sort2_option, |
198 |
option => \@sort2_option, |
199 |
mandatory => ( grep /sort2/, @mandatoryFields ) ? 1 : 0, |
199 |
mandatory => ( grep /sort2/, @mandatoryFields ) ? 1 : 0, |
200 |
} |
200 |
} |
201 |
- |
|
|