Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / Branch.pm
index 40d54c0..4e645d4 100644 (file)
@@ -684,8 +684,11 @@ __PACKAGE__->add_columns(
     '+pickup_location' => { is_boolean => 1 }
 );
 
+sub koha_object_class {
+    'Koha::Library';
+}
 sub koha_objects_class {
-    'Koha::Libraries';
+    'Koha::Librarys';
 }
 
 1;