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

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

Return to bug 20256