Bug 42071 - Suggestion does not load when viewing the suggestion
Summary: Suggestion does not load when viewing the suggestion
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Lisette Scheer
QA Contact: Pedro Amorim
URL:
Keywords:
Depends on: 41857
Blocks: 40504
  Show dependency treegraph
 
Reported: 2026-03-11 21:13 UTC by Lisette Scheer
Modified: 2026-03-12 04:52 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This fixes purchase suggestions not showing when you click their title in the suggestions management table. that are generated when selecting a suggestion in the staff interface (Related to changes made by Bug 41857 - Suggestions table actions broken Update manager and Delete selected actions) , added in Koha 26.05.)
Version(s) released in:
Circulation function:


Attachments
Bug 42071: Add 'show' to options that load a single suggestion (1.27 KB, patch)
2026-03-11 21:22 UTC, Lisette Scheer
Details | Diff | Splinter Review
Bug 42071: Add 'show' to options that load a single suggestion (1.33 KB, patch)
2026-03-12 04:52 UTC, Pedro Amorim
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lisette Scheer 2026-03-11 21:13:00 UTC
Bug 41857 set a single suggestion to load only on edit, so nothing loads when viewing a suggestion.

To recreate:
1. Go to acquisitions
2. Go to Purchase Suggestions
3. Create a purchase suggestion (for ease of testing, select Centerville for the library)
4. On the table, click on the suggestion number
5. Observe the suggestion does not populate, including the breadcrumbs, but the url does contain the suggestion number.
Comment 1 Lisette Scheer 2026-03-11 21:22:35 UTC
Created attachment 195140 [details] [review]
Bug 42071: Add 'show' to options that load a single suggestion

Test plan:

Before applying the patch:
1. Go to acquisitions
2. Go to Purchase Suggestions
3. Create a purchase suggestion (for ease of testing, select Centerville for the library)
4. On the table, click on the suggestion number
5. Observe the suggestion does not populate, including the breadcrumbs, but the url does contain the suggestion number.
6. Apply the patch
7. restart_all
8. Rpeat steps 1-4
9. Observe the suggestion now populates and can be edited.
Comment 2 Pedro Amorim 2026-03-12 04:52:30 UTC
Created attachment 195157 [details] [review]
Bug 42071: Add 'show' to options that load a single suggestion

Test plan:

Before applying the patch:
1. Go to acquisitions
2. Go to Purchase Suggestions
3. Create a purchase suggestion (for ease of testing, select Centerville for the library)
4. On the table, click on the suggestion number
5. Observe the suggestion does not populate, including the breadcrumbs, but the url does contain the suggestion number.
6. Apply the patch
7. restart_all
8. Rpeat steps 1-4
9. Observe the suggestion now populates and can be edited.

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>