Closed cbeer closed 5 months ago
@cbeer When I try this out for http://localhost:3000/patron_requests/new?instance_hrid=1485586&origin_location_code=SAL3-STACKS, I get the following error: ArgumentError (wrong number of arguments (given 0, expected 1)):
| app/models/patron_request.rb:572:in include?' | app/models/patron_request.rb:572:in
for_sponsor_id_is_valid'
| app/controllers/patron_requests_controller.rb:27:in `create'
I was logged in as Piper Proxy and picked Shea Sponsor as the sponsor (for context)
This might be because the sponsor radio button value is the sponsor name and not the id?
Thanks, give it another try.
Thanks @cbeer ! Works now. The patron comment reads "(PROXY PICKUP OK; request placed by Piper Proxy hudakhan@stanford.edu)" (which I think is Piper Proxy's current email address).