Bug 41997 - Default suggester is not passed by the suggestion creation form
Summary: Default suggester is not passed by the suggestion creation form
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Baptiste Wojtkowski (bwoj)
QA Contact: Jonathan Druart
URL:
Keywords: regression
Depends on: 39721
Blocks:
  Show dependency treegraph
 
Reported: 2026-03-05 12:27 UTC by Baptiste Wojtkowski (bwoj)
Modified: 2026-03-05 17:44 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41997: Submit properly default suggester in suggestion.tt (3.50 KB, patch)
2026-03-05 12:29 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Wojtkowski (bwoj) 2026-03-05 12:27:18 UTC
Steps to reproduce, only on main.
1 - Open a form creation suggestion. 
2 - With code explorer, notice that there is: <input type="hidden" id="suggestedby" name="suggestedby" value="" /> in the code
3 - Apply patch
4 - With code explorer, notice that there is: <input type="hidden" id="suggestedby" name="suggestedby" value="51" /> in the code
5 - Submit form, notice the suggester is properly written
Comment 1 Baptiste Wojtkowski (bwoj) 2026-03-05 12:29:15 UTC
Created attachment 194499 [details] [review]
Bug 41997: Submit properly default suggester in suggestion.tt

Steps to reproduce, only on main.
1 - Open a form creation suggestion.
2 - With code explorer, notice that there is: <input type="hidden" id="suggestedby" name="suggestedby" value="" /> in the code
3 - Apply patch
4 - With code explorer, notice that there is: <input type="hidden" id="suggestedby" name="suggestedby" value="51" /> in the code
5 - Submit form, notice the suggester is properly written
Comment 2 Owen Leonard 2026-03-05 17:44:14 UTC
I notice that there is also a hidden borrowernumber input at the top of the form. Is that redundant?