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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt (-2 / +2 lines)
Lines 59-66 Link Here
59
                <td>
59
                <td>
60
                    <select name="itemrank" class="itemrank" data-subscriptionid="[% subscriptionid | html %]" data-routingid="[% member.routingid | html %]">
60
                    <select name="itemrank" class="itemrank" data-subscriptionid="[% subscriptionid | html %]" data-routingid="[% member.routingid | html %]">
61
                    [% rankings = [1 .. m_loop.size] %]
61
                    [% rankings = [1 .. m_loop.size] %]
62
                    [% SET cur_rank = loop.count() %]
62
                    [% FOREACH r IN rankings %]
63
                    [% FOREACH r IN rankings %]
63
                        [% IF r == member.ranking %]
64
                        [% IF r == cur_rank %]
64
                          <option selected="selected" value="[% r | html %]">[% r | html %]</option>
65
                          <option selected="selected" value="[% r | html %]">[% r | html %]</option>
65
                        [% ELSE %]
66
                        [% ELSE %]
66
                          <option value="[% r | html %]">[% r | html %]</option>
67
                          <option value="[% r | html %]">[% r | html %]</option>
67
- 

Return to bug 8260