Bug 24201: (QA follow-up) Do not unbless a list from search in Desks template plugin

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>
This commit is contained in:
Josef Moravec 2020-08-03 07:11:49 +00:00 committed by Jonathan Druart
parent 1f96bea8ba
commit ad9fdd792a

View 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;