Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Jonathan Druart ea9255c004 Bug 19388: FIX display item status if item is checked out
In course reserves, if an item which was added to a course is checked
out, it is not possible to show details for that course on OPAC.
The error says: "Template process failed: undef error - The method
onsite_checkout is not covered by tests! at
/home/koha/src/C4/Templates.pm line 121."

onsite_checkout is an attribute of Koha::Checkout, not Koha::Item

Test plan:
Create a course with 2 items that are checked out (standard and on-site)
At the OPAC, add them to your cart and confirm the status of these 2
items is correct
Confirm that on the detail page of the bib record as well as the detail
of the course.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-06 10:59:14 -03:00
..
search
authorities-search-results.inc Bug 18779: Translatability: Get rid of exposed tt directives in authorities-search-results.inc (OPAC) 2017-08-30 16:43:37 -03:00
av-build-dropbox.inc Bug 18682 - Translatability: Get rid of [%% in translation for 2 files av-build-dropbox.inc 2017-06-05 16:35:56 -03:00
bodytag.inc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
calendar.inc Bug 18447 - QA Followup - fix opac usage 2017-08-25 11:38:46 -03:00
datatables.inc
date-format.inc
doc-head-close.inc Bug 17486: Remove Mozilla Persona 2017-01-13 12:32:19 +00:00
doc-head-open.inc
greybox.inc
html_helpers.inc Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
item-status-schema-org.inc
item-status.inc Bug 19388: FIX display item status if item is checked out 2017-10-06 10:59:14 -03:00
masthead-langmenu.inc Bug 18780: Translatability: Get rid of exposed tt directive in masthead-langmenu.inc 2017-08-30 16:43:37 -03:00
masthead-sco.inc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
masthead.inc Bug 17993 - Do not use modal authentication with CAS - lists 2017-05-08 09:02:17 -04:00
navigation.inc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-authorities.inc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-bottom.inc Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-29 12:00:37 -03:00
opac-detail-sidebar.inc Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-29 12:00:37 -03:00
opac-facets.inc Bug 17169 - Use CCODE descriptions instead of codes 2017-03-22 19:24:23 +00:00
opac-note.inc Bug 17386: Simplify code 2016-10-10 14:08:20 +00:00
opac-topissues.inc Bug 17537: Fix valid-templates.t for some include files 2016-11-04 11:03:48 +00:00
openlibrary-readapi.inc Bug 18781: Translatability: Get rid of exposed tt directives in openlibrary-readapi.inc 2017-08-30 16:43:37 -03:00
overdrive-checkout.inc bug_16034 Add overdrive info to the users page in the public interface 2017-02-21 19:58:21 +00:00
page-numbers.inc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
patron-title.inc
resort_form.inc
shelfbrowser.inc Bug 16315 - OPAC Shelfbrowser doesn't display the full title 2016-05-05 18:28:16 +00:00
slip-print.inc Bug 18405: Self checkout: Fix broken silent printing 2017-05-08 09:01:41 -04:00
subtypes_unimarc.inc
usermenu.inc Bug 12528: Bug 9254: Followup - Rename pref to EnhancedMessagingPreferencesOPAC 2016-04-29 17:54:10 +00:00