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 => { "-or" => { pickup_location => 1, branchcode => hold.branchcode } } ) %]
129
                        </select>
129
                        </select>
130
                    [% END %]
130
                    [% END %]
131
                [% END %]
131
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-3 / +3 lines)
Lines 78-85 $(document).ready(function() { Link Here
78
78
79
                                        selectedbranch = " selected='selected' ";
79
                                        selectedbranch = " selected='selected' ";
80
                                        setbranch = CURRENT;
80
                                        setbranch = CURRENT;
81
                                    }
81
                                    } else if ( oObj.branches[i].pickup_location == 0 ) {
82
                                    else{
82
                                        continue;
83
                                    } else{
83
                                        selectedbranch = '';
84
                                        selectedbranch = '';
84
                                        setbranch = '';
85
                                        setbranch = '';
85
                                    }
86
                                    }
86
- 

Return to bug 23048