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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (+3 lines)
Lines 974-979 legend:hover { Link Here
974
                                                        </optgroup>
974
                                                        </optgroup>
975
                                                [% END %]
975
                                                [% END %]
976
                                            </select>
976
                                            </select>
977
                                            [% IF limited_category %]
978
                                                <span style="float:right;" title="The patron's current category ([% patron_category.description | html %]) is limited to other branches"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></span>
979
                                            [% END %]
977
                                            <span class="required">Required</span>
980
                                            <span class="required">Required</span>
978
                                        </li>
981
                                        </li>
979
982
(-)a/members/memberentry.pl (-2 / +6 lines)
Lines 658-664 my $patron_categories = Koha::Patron::Categories->search_with_library_limits( Link Here
658
);
658
);
659
my $no_categories = ! $patron_categories->count;
659
my $no_categories = ! $patron_categories->count;
660
my $categories = {};
660
my $categories = {};
661
foreach my $patron_category ($patron_categories->as_list ) {
661
my @patron_categories = $patron_categories->as_list;
662
unless ( $patron_categories->find( $category->id ) ){
663
    $template->param( limited_category => 1 );
664
    push @patron_categories, $category;
665
}
666
foreach my $patron_category ( @patron_categories ) {
662
    push @{ $categories->{ $patron_category->category_type } }, $patron_category;
667
    push @{ $categories->{ $patron_category->category_type } }, $patron_category;
663
}
668
}
664
669
665
- 

Return to bug 31422