| Summary: | Suggestion for purchase displays wrong library in OPAC display if patron suggests for non-home library | ||
|---|---|---|---|
| Product: | Koha | Reporter: | hebah |
| Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | fridolin.somers, lucas |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
23.11.00,23.05.04,22.11.10
|
|
| Circulation function: | |||
| Attachments: |
Bug 34522: Pass the suggestion branchcode, not the suggeter branchcode
Bug 34522: Pass the suggestion branchcode, not the suggeter branchcode Bug 34522: Pass the suggestion branchcode, not the suggeter branchcode |
||
|
Description
hebah
2023-08-11 20:26:01 UTC
The column that displays inaccurately is "Suggested for" which requires the system preference OPACViewOthersSuggestions to be turned on. Created attachment 154393 [details] [review] Bug 34522: Pass the suggestion branchcode, not the suggeter 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. Testing this one right now! Created attachment 154496 [details] [review] Bug 34522: Pass the suggestion branchcode, not the suggeter 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> If we could get another sign-off here, I could use mine for QA :) Created attachment 154798 [details] [review] Bug 34522: Pass the suggestion branchcode, not the suggeter 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> Thanks David, switching this to PQA with my SO converted to QA :) Pushed to master for 23.11. Nice work everyone, thanks! Pushed to 23.05.x for 23.05.04 Nice work everyone! Pushed to oldstable for 22.11.x |