Bug 34522: Pass the suggestion branchcode, not the suggester branchcode
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 11 Aug 2023 20:53:44 +0000 (20:53 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2023 13:07:09 +0000 (10:07 -0300)
commitcb4db13612da28c3a04114fbdb2c7005c13631ef
treea0627efea05be86bee3e5adae410205f2cedaf4a
parent8341ffe13db350f3d0c623e1f6ff6671e1944d82
Bug 34522: Pass the suggestion branchcode, not the suggester branchcode

To test:
1. Turn on OPACViewOthersSuggestions
2. Log into OPAC as patron of Branch A
3. Make purchase suggestion for Branch B
4. Refresh /cgi-bin/koha/opac-suggestions.pl and see that suggestion appears to have been made for Branch A
5. View suggestion from staff client - See that it accurately reflects suggestion having been made for Branch B
6. Apply patch and try steps 2 - 5 again, this time you should see the proper branch.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt