[Koha-bugs] [Bug 28118] Fix missing "selected" attribute in "Pickup at" dropdown
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 15 10:30:21 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28118
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Passed QA |Failed QA
--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We need to keep $pickup for $reserves_control_branch, in case it's passed.
request.pl can be called with a specific branchcode from this code in
request.tt:
1079 [% IF Koha.Preference('UseBranchTransferLimits') %]
1080 $("#pickup").on('change', function(){
1081 var pickup = $("#pickup").val();
1082 var url = "?pickup=" + pickup;
1083 url += "&borrowernumber=" + borrowernumber;
1084 url += "&biblionumber=" + biblionumber;
1085 window.location.replace(url);
1086 });
1087 [% END %]
We need to use Branches.GetLoggedInBranchcode to preselect the option, if
pickup is not passed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list