Bug 37129: Patron attributes linked to an authorized value don't show a select menu in batch modification
Test plan: 1. In Administration - Patron attribute types verify you have the default SHOW_BCODE using the YES_NO authorized value 2. Tools - Batch patron modification, add a patron card number or borrowernumber and continue 3. For Patron attribute select Show barcode on the summary screen item listings, and note that you get a blank text input rather than a select menu with Yes and No choices 4. Apply patch, restart_all 5. Repeat step 2 and 3, but note that you now get a Yes/No select menu Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
5083d5752c
commit
b8614bd579
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ if ( $op eq 'cud-show' ) {
|
|||
attribute_code => $attr_type->code,
|
||||
attribute_lib => $attr_type->description,
|
||||
category_lib => $category_lib,
|
||||
type => $attr_type->authorised_value_category ? 'cud-select' : 'text',
|
||||
type => $attr_type->authorised_value_category ? 'select' : 'text',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue