View | Details | Raw Unified | Return to bug 23048
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-1 / +1 lines)
Lines 125-131 Link Here
125
                        [% Branches.GetName(hold.branchcode) | html %] <input type="hidden" name="pickup" value="[% hold.branchcode | html %]" />
125
                        [% Branches.GetName(hold.branchcode) | html %] <input type="hidden" name="pickup" value="[% hold.branchcode | html %]" />
126
                    [% ELSE %]
126
                    [% ELSE %]
127
                        <select name="pickup">
127
                        <select name="pickup">
128
                            [% PROCESS options_for_libraries libraries => Branches.all( selected => hold.branchcode ) %]
128
                            [% PROCESS options_for_libraries libraries => Branches.all( selected => hold.branchcode, search_params => { pickup_location => 1 } ) %]
129
                        </select>
129
                        </select>
130
                    [% END %]
130
                    [% END %]
131
                [% END %]
131
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-1 / +1 lines)
Lines 74-79 $(document).ready(function() { Link Here
74
                                for ( var i=0; i < oObj.branches.length; i++ ){
74
                                for ( var i=0; i < oObj.branches.length; i++ ){
75
                                    var selectedbranch;
75
                                    var selectedbranch;
76
                                    var setbranch;
76
                                    var setbranch;
77
				    if ( oObj.branches[i].pickup_location == 0 ) { continue; }
77
                                    if( oObj.branches[i].selected ){
78
                                    if( oObj.branches[i].selected ){
78
79
79
                                        selectedbranch = " selected='selected' ";
80
                                        selectedbranch = " selected='selected' ";
80
- 

Return to bug 23048