From 440c4f644d1bb09e74771828c1c023b9ac5aee32 Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Fri, 26 Nov 2021 14:47:12 +0000
Subject: [PATCH] Bug 29523: (QA follow-up) Fix failing test in club holds

With this patch series, all singular objects need to 'use' their plural
counterparts.. otherwise the parent can't find search_related.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
---
 Koha/Club/Hold.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Koha/Club/Hold.pm b/Koha/Club/Hold.pm
index 9c1bbc7a705..18390559c75 100644
--- a/Koha/Club/Hold.pm
+++ b/Koha/Club/Hold.pm
@@ -28,6 +28,7 @@ use base qw(Koha::Object);
 use Koha::Exceptions;
 use Koha::Exceptions::ClubHold;
 use Koha::Club::Hold::PatronHold;
+use Koha::Club::Holds;
 use Koha::Clubs;
 use Koha::Patrons;
 
-- 
2.34.1