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

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 1438-1444 sub can_see_patrons_from { Link Here
1438
1438
1439
=head3 libraries_where_can_see_patrons
1439
=head3 libraries_where_can_see_patrons
1440
1440
1441
my $libraries = $patron-libraries_where_can_see_patrons;
1441
my $libraries = $patron->libraries_where_can_see_patrons;
1442
1442
1443
Return the list of branchcodes(!) of libraries the patron is allowed to see other patron's infos.
1443
Return the list of branchcodes(!) of libraries the patron is allowed to see other patron's infos.
1444
The branchcodes are arbitrarily returned sorted.
1444
The branchcodes are arbitrarily returned sorted.
(-)a/catalogue/detail.pl (-1 / +1 lines)
Lines 389-395 foreach my $item (@items) { Link Here
389
        $item->{'course_reserves'} = GetItemCourseReservesInfo( itemnumber => $item->{'itemnumber'} );
389
        $item->{'course_reserves'} = GetItemCourseReservesInfo( itemnumber => $item->{'itemnumber'} );
390
    }
390
    }
391
391
392
    $item->{cannot_be_edited} = !$patron->can_edit_item( $item_object );
392
    $item->{can_be_edited} = !$patron->can_edit_item( $item_object );
393
393
394
    if ( C4::Context->preference("LocalCoverImages") == 1 ) {
394
    if ( C4::Context->preference("LocalCoverImages") == 1 ) {
395
        $item->{cover_images} = $item_object->cover_images;
395
        $item->{cover_images} = $item_object->cover_images;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +1 lines)
Lines 344-350 Link Here
344
                <tr>
344
                <tr>
345
                [% IF (StaffDetailItemSelection) %]
345
                [% IF (StaffDetailItemSelection) %]
346
                    <td style="text-align:center;vertical-align:middle">
346
                    <td style="text-align:center;vertical-align:middle">
347
                        [% UNLESS item.cannot_be_edited %]
347
                        [% IF item.can_be_edited %]
348
                            <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
348
                            <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
349
                        [% END %]
349
                        [% END %]
350
                    </td>
350
                    </td>
351
- 

Return to bug 20256