Bug 24201: (QA follow-up) Do not unbless a list from search in Desks template plugin
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 3 Aug 2020 07:11:49 +0000 (07:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Aug 2020 14:54:40 +0000 (16:54 +0200)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Koha/Template/Plugin/Desks.pm

index 4216497..05f22b3 100644 (file)
@@ -99,7 +99,7 @@ returns all desks existing at all libraries
 sub all {
 
     my ( $self ) = @_;
-    return Koha::Desks->search( )->unblessed;
+    return Koha::Desks->search();
 }
 
 1;