From f5ae461d17ebab52b0e8ef802298a58ef1b01d24 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 Dec 2019 13:45:30 +0100 Subject: [PATCH] Bug 24148: Using some black magic --- t/db_dependent/Circulation/Returns.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t index 25ce71849c..339cfff7fe 100644 --- a/t/db_dependent/Circulation/Returns.t +++ b/t/db_dependent/Circulation/Returns.t @@ -157,7 +157,7 @@ subtest "AddReturn logging on statistics table (item-level_itypes=1)" => sub { branch => $branch, type => 'return', itemnumber => $item_without_itemtype->{ itemnumber } - }, { order_by => { -asc => 'datetime' } })->next(); + })->next(); is( $stat->itemtype, $blevel_itemtype, "biblio-level itype recorded on statistics for return as a fallback for null item-level itype"); -- 2.11.0