From c8d2e1d660c3f28f794119bb31c7e82d122ea7df 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 --- 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.33.0