From 4b3b549e4f4bea60bca4f928414b67e1392ae960 Mon Sep 17 00:00:00 2001
From: Andrew Nugged <nugged@gmail.com>
Date: Wed, 13 Oct 2021 16:51:36 +0300
Subject: [PATCH] Bug 20447: (QA follow-up) Change 3 pushes to `() x 3` for
 readability

---
 Koha/OAI/Server/ListBase.pm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Koha/OAI/Server/ListBase.pm b/Koha/OAI/Server/ListBase.pm
index fa4c4d2951..a305c61d65 100644
--- a/Koha/OAI/Server/ListBase.pm
+++ b/Koha/OAI/Server/ListBase.pm
@@ -98,9 +98,7 @@ sub GetRecords {
                   UNION
                 (SELECT DISTINCT(biblionumber) FROM items main WHERE $where $order_limit)
             ";
-            push @bind_params, @part_bind_params;
-            push @bind_params, @part_bind_params;
-            push @bind_params, @part_bind_params;
+            push @bind_params, (@part_bind_params) x 3;
             $sql = "SELECT biblionumber FROM ($sql) main $order_limit";
 
             $ts_sql = "
-- 
2.35.1