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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-3 / +5 lines)
Lines 49-60 Link Here
49
                                [% END %]
49
                                [% END %]
50
                            [% END %]
50
                            [% END %]
51
                        [% ELSE %]
51
                        [% ELSE %]
52
                            [% SET ranker = 1 %]
52
                            [% FOREACH h IN holds %]
53
                            [% FOREACH h IN holds %]
54
                                [% NEXT IF h.found %]
53
                                [% IF ( h.priority == hold.priority ) %]
55
                                [% IF ( h.priority == hold.priority ) %]
54
                                    <option value="[% h.priority | html %]" selected="selected">[% loop.index + 1 | html %]</option>
56
                                    <option value="[% h.priority | html %]" selected="selected">[% ranker | html %]</option>
55
                                [% ELSE %]
57
                                [% ELSE %]
56
                                    <option value="[% h.priority | html %]">[% loop.index + 1 | html %]</option>
58
                                    <option value="[% h.priority | html %]">[% ranker | html %]</option>
57
                                [% END %]
59
                                [% END %]
60
                                [% ranker = ranker + 1 %]
58
                            [% END %]
61
                            [% END %]
59
                        [% END %]
62
                        [% END %]
60
                    [% ELSIF !hold.found %]
63
                    [% ELSIF !hold.found %]
61
- 

Return to bug 21611