From f86e90cbbd1841bd692381abbf291b80d4d4a99e Mon Sep 17 00:00:00 2001 From: Andrew Nugged Date: Wed, 13 Oct 2021 16:51:36 +0300 Subject: [PATCH] Bug 20447: (QA follow-up) Change 3 pushes to `() x 3` for readability Signed-off-by: Nick Clemens --- 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.30.2