projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1c34a54
)
Bug 23413: Remove wrong return
author
Nick Clemens
<nick@bywatersolutions.com>
Thu, 24 Oct 2019 15:40:47 +0000 (15:40 +0000)
committer
Martin Renvoize
<martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 15:58:25 +0000 (16:58 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Item.pm
patch
|
blob
|
history
diff --git
a/Koha/Item.pm
b/Koha/Item.pm
index
b5b3ce0
..
a9cca3f
100644
(file)
--- a/
Koha/Item.pm
+++ b/
Koha/Item.pm
@@
-140,7
+140,6
@@
Return holds attached to an item, optionally accept a hashref of params to pass
sub holds {
my ( $self,$params ) = @_;
my $holds_rs = $self->_result->reserves->search($params);
- return unless $holds_rs->count;
return Koha::Holds->_new_from_dbic( $holds_rs );
}