From 3bceffab02f813f740e0fb36080e38fd5de4f356 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 5 Apr 2024 16:40:26 +0200 Subject: [PATCH] Bug 33568: (follow-up) Add search on home and holding library's names Silly typo! Caught by a test koha_1 | # Failed test 'Home branch code matches holdingbranch' koha_1 | # at t/db_dependent/Items.t line 581. koha_1 | # got: 'QHImNSEoNi' koha_1 | # expected: 'VY5y6p' koha_1 | # Looks like you failed 1 test of 7. koha_1 | koha_1 | # Failed test 'Koha::Item(s) tests' koha_1 | # at t/db_dependent/Items.t line 588. --- Koha/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 3e1447d2ffe..0b571b5d9d0 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -408,7 +408,7 @@ sub home_library { =cut sub holding_branch { - return shift->home_library(@_); + return shift->holding_library(@_); } =head3 holding_library -- 2.34.1