|
Lines 140-145
subtest 'Search patrons' => sub {
Link Here
|
| 140 |
{ |
140 |
{ |
| 141 |
code => 'my code1', |
141 |
code => 'my code1', |
| 142 |
description => 'my description1', |
142 |
description => 'my description1', |
|
|
143 |
staff_searchable => 0, |
| 144 |
searched_by_default => 0 |
| 143 |
} |
145 |
} |
| 144 |
)->store; |
146 |
)->store; |
| 145 |
my $attribute_type_searchable = Koha::Patron::Attribute::Type->new( |
147 |
my $attribute_type_searchable = Koha::Patron::Attribute::Type->new( |
|
Lines 147-153
subtest 'Search patrons' => sub {
Link Here
|
| 147 |
code => 'my code2', |
149 |
code => 'my code2', |
| 148 |
description => 'my description2', |
150 |
description => 'my description2', |
| 149 |
opac_display => 1, |
151 |
opac_display => 1, |
| 150 |
staff_searchable => 1 |
152 |
staff_searchable => 1, |
|
|
153 |
searched_by_default => 1 |
| 151 |
} |
154 |
} |
| 152 |
)->store; |
155 |
)->store; |
| 153 |
$patrons[0]->extended_attributes([ |
156 |
$patrons[0]->extended_attributes([ |
| 154 |
- |
|
|