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

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

Return to bug 20256