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

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 1462-1468 sub can_see_patrons_from { Link Here
1462
1462
1463
=head3 libraries_where_can_see_patrons
1463
=head3 libraries_where_can_see_patrons
1464
1464
1465
my $libraries = $patron-libraries_where_can_see_patrons;
1465
my $libraries = $patron->libraries_where_can_see_patrons;
1466
1466
1467
Return the list of branchcodes(!) of libraries the patron is allowed to see other patron's infos.
1467
Return the list of branchcodes(!) of libraries the patron is allowed to see other patron's infos.
1468
The branchcodes are arbitrarily returned sorted.
1468
The branchcodes are arbitrarily returned sorted.
(-)a/catalogue/detail.pl (-1 / +1 lines)
Lines 441-447 foreach my $item (@items) { Link Here
441
        $item->{'course_reserves'} = GetItemCourseReservesInfo( itemnumber => $item->{'itemnumber'} );
441
        $item->{'course_reserves'} = GetItemCourseReservesInfo( itemnumber => $item->{'itemnumber'} );
442
    }
442
    }
443
443
444
    $item->{cannot_be_edited} = !$patron->can_edit_item( $item_object );
444
    $item->{can_be_edited} = !$patron->can_edit_item( $item_object );
445
445
446
    if ( C4::Context->preference("LocalCoverImages") == 1 ) {
446
    if ( C4::Context->preference("LocalCoverImages") == 1 ) {
447
        $item->{cover_images} = $item_object->cover_images;
447
        $item->{cover_images} = $item_object->cover_images;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +1 lines)
Lines 376-382 Link Here
376
                <tr id="item_[% item.itemnumber | html %]" data-itemnumber="[% item.itemnumber | html %]" data-duedate="[% item.datedue | html %]">
376
                <tr id="item_[% item.itemnumber | html %]" data-itemnumber="[% item.itemnumber | html %]" data-duedate="[% item.datedue | html %]">
377
                [% IF (StaffDetailItemSelection) %]
377
                [% IF (StaffDetailItemSelection) %]
378
                    <td style="text-align:center;vertical-align:middle">
378
                    <td style="text-align:center;vertical-align:middle">
379
                        [% UNLESS item.cannot_be_edited %]
379
                        [% IF item.can_be_edited %]
380
                            <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
380
                            <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
381
                        [% END %]
381
                        [% END %]
382
                    </td>
382
                    </td>
383
- 

Return to bug 20256