projects
/
koha-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git]
/
Koha
/
Schema
/
Result
/
Itemtype.pm
diff --git
a/Koha/Schema/Result/Itemtype.pm
b/Koha/Schema/Result/Itemtype.pm
index
55331fe
..
37be850
100644
(file)
--- a/
Koha/Schema/Result/Itemtype.pm
+++ b/
Koha/Schema/Result/Itemtype.pm
@@
-262,4
+262,11
@@
__PACKAGE__->has_many(
}
);
+sub koha_object_class {
+ 'Koha::ItemType';
+}
+sub koha_objects_class {
+ 'Koha::ItemTypes';
+}
+
1;