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 935-940 legend:hover { Link Here
935
                                                    [% END # /FOREACH categoryloo %]
935
                                                    [% END # /FOREACH categoryloo %]
936
                                                [% END # /FOREACH typeloo %]
936
                                                [% END # /FOREACH typeloo %]
937
                                            </select>
937
                                            </select>
938
                                            [% IF limited_category %]
939
                                                <span style="float:right;" title="The patron's current category ([% patron_category.description | html %]) is limited to other libraries"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
940
                                            [% END %]
938
                                            <span class="required">Required</span>
941
                                            <span class="required">Required</span>
939
                                        </li>
942
                                        </li>
940
943
(-)a/members/memberentry.pl (-1 / +11 lines)
Lines 677-682 foreach my $category_type (qw(C A S P I X)) { Link Here
677
    $no_categories = 0 if $patron_categories->count > 0;
677
    $no_categories = 0 if $patron_categories->count > 0;
678
678
679
    my @categoryloop;
679
    my @categoryloop;
680
    unless ( (!defined $categorycode) || $patron_categories->find( $categorycode ) ){
681
        my $category = Koha::Patron::Categories->find( $categorycode );
682
        $template->param( limited_category => 1 );
683
        push @categoryloop,
684
            { 'category_code' => $category->categorycode,
685
              'categoryname'  => $category->description,
686
              'effective_min_password_length' => $category->effective_min_password_length,
687
              'effective_require_strong_password' => $category->effective_require_strong_password.
688
              'categorycodeselected' => 1
689
            };
690
    }
680
    while ( my $patron_category = $patron_categories->next ) {
691
    while ( my $patron_category = $patron_categories->next ) {
681
        $categorycode = $patron_category->categorycode unless defined($categorycode); #If none passed in, select the first
692
        $categorycode = $patron_category->categorycode unless defined($categorycode); #If none passed in, select the first
682
        push @categoryloop,
693
        push @categoryloop,
683
- 

Return to bug 31422