projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 29844: Fix ->search occurrences
[srvgit]
/
Koha
/
REST
/
V1
/
Patrons.pm
diff --git
a/Koha/REST/V1/Patrons.pm
b/Koha/REST/V1/Patrons.pm
index
f1759b2
..
a33ac06
100644
(file)
--- a/
Koha/REST/V1/Patrons.pm
+++ b/
Koha/REST/V1/Patrons.pm
@@
-75,7
+75,7
@@
sub get {
return try {
my $patron_id = $c->validation->param('patron_id');
- my $patron = $c->objects->find( Koha::Patrons->
new
, $patron_id );
+ my $patron = $c->objects->find( Koha::Patrons->
search_limited
, $patron_id );
unless ($patron) {
return $c->render(