Bug 36742: (follow-up) Add hidden branchcode input for OPAC article requests

This patch adds a hidden input containing the logged-in user's
branchcode to the article request form when there is only one public
branch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-07-02 13:55:47 +00:00 committed by Katrin Fischer
parent 99acd9c3fd
commit 59afb14724
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@
[% END %]
</select>
</li>
[% ELSE %]
<input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" />
[% END %]
</ul>
</fieldset>