Bug 32445: (follow-up) Fix availability display on opac-course-details
This is reverting a change made by commit52b5cdf79b
Bug 19532: Recalls on OPAC Is it correct? I let a comment on bug 19532 comment 928 to ask for clarification. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit217ccf2eae
) Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
parent
65fab5c89f
commit
1aacd005ed
2 changed files with 1 additions and 7 deletions
|
@ -87,7 +87,7 @@
|
|||
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode, opac => 1 ) | html %]</td>
|
||||
<td>[% cr.item.itemcallnumber | html %]</td>
|
||||
<td>[% cr.item.copynumber | html %]</td>
|
||||
<td>[% INCLUDE 'item-status.inc' item=cr.course_item issue=cr.issue show_recall_link=1 %]</td>
|
||||
<td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue show_recall_link=Koha.Preference('UseRecalls') %]</td>
|
||||
<td data-order="[% cr.issue.date_due | html %]">[% cr.issue.date_due | $KohaDates as_due_date => 1 %]</td>
|
||||
<td>[% IF ( cr.public_note ) %]
|
||||
[% cr.public_note | $raw %]
|
||||
|
|
|
@ -44,12 +44,6 @@ die("No course_id given") unless ($course_id);
|
|||
my $course = GetCourse($course_id);
|
||||
my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );
|
||||
|
||||
if ( C4::Context->preference('UseRecalls') ) {
|
||||
foreach my $cr ( @$course_reserves ) {
|
||||
$cr->{course_item} = Koha::Items->find($cr->{itemnumber});
|
||||
}
|
||||
}
|
||||
|
||||
$template->param(
|
||||
course => $course,
|
||||
course_reserves => $course_reserves,
|
||||
|
|
Loading…
Reference in a new issue