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

(-)a/circ/article-requests.pl (-1 / +1 lines)
Lines 36-42 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
36
    }
36
    }
37
);
37
);
38
38
39
my $branchcode = $query->param('branchcode') || C4::Context->userenv->{'branch'};
39
my $branchcode = defined( $query->param('branchcode') ) ? $query->param('branchcode') : C4::Context->userenv->{'branch'};
40
40
41
$template->param(
41
$template->param(
42
    branchcode                  => $branchcode,
42
    branchcode                  => $branchcode,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-2 / +4 lines)
Lines 122-127 Link Here
122
122
123
                <form id="ar-branchcode-form" method="post">
123
                <form id="ar-branchcode-form" method="post">
124
                    <select name="branchcode" id="branchcode">
124
                    <select name="branchcode" id="branchcode">
125
                        <option value="">All libraries</option>
125
                        [% FOREACH b IN Branches.all %]
126
                        [% FOREACH b IN Branches.all %]
126
                            [% IF b.branchcode == branchcode %]
127
                            [% IF b.branchcode == branchcode %]
127
                                <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
128
                                <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
Lines 130-136 Link Here
130
                            [% END %]
131
                            [% END %]
131
                        [% END %]
132
                        [% END %]
132
                    </select>
133
                    </select>
133
                    <input class="btn btn-small" type="submit" value="Update" />
134
                    <button type="submit" class="btn btn-small" type="submit">
135
                        <i class="fa fa-refresh"></i> Update
136
                    </button>
134
                </form>
137
                </form>
135
138
136
                <div id="article-request-tabs" class="toptabs">
139
                <div id="article-request-tabs" class="toptabs">
137
- 

Return to bug 14610