projects
/
koha-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 21460: (follow-up) Fix bugs found in QA
[koha-equinox.git]
/
Koha
/
REST
/
V1
/
Illrequests.pm
diff --git
a/Koha/REST/V1/Illrequests.pm
b/Koha/REST/V1/Illrequests.pm
index
f747390
..
907dc5c
100644
(file)
--- a/
Koha/REST/V1/Illrequests.pm
+++ b/
Koha/REST/V1/Illrequests.pm
@@
-57,7
+57,7
@@
sub list {
# Get all requests
# If necessary, only get those from a specified patron
my @requests = Koha::Illrequests->search({
- args->{borrowernumber}
+ $args->{borrowernumber}
? ( borrowernumber => $args->{borrowernumber} )
: ()
})->as_list;