Skip to content

Commit 16f1924

Browse files
committed
Add class HLISD to patron attribute types
1 parent 31c9a51 commit 16f1924

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Koha/Plugin/Com/PTFSEurope/HLISD/misc4dev/populate_patron_attribute_types.pl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
try {
1010
Koha::Patron::Attribute::Type->new(
1111
{
12-
code => 'hlisd_id',
13-
description => 'This record\'s ID in HLISD'
12+
code => 'hlisd_id',
13+
description => 'This record\'s ID in HLISD',
14+
class => 'HLISD',
15+
category_code => $ill_partner_category
1416
}
1517
)->store;
1618
} catch {
@@ -22,11 +24,13 @@
2224
{
2325
code => 'hlisd_update',
2426
description => 'Perform HLISD update?',
25-
authorised_value_category => 'YES_NO'
27+
authorised_value_category => 'YES_NO',
28+
class => 'HLISD',
29+
category_code => $ill_partner_category
2630
}
2731
)->store;
2832
} catch {
2933
print "Error: $_\n";
3034
};
3135

32-
1;
36+
1;

0 commit comments

Comments
 (0)